mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-23 17:31:14 +00:00
Fixed correct permission for /opt/nvm during startup
This commit is contained in:
@@ -72,6 +72,9 @@ set_uid() {
|
||||
if [ -d "/etc/supervisor/custom.d" ]; then
|
||||
run "chown -R ${username} /etc/supervisor/custom.d" "${debug}"
|
||||
fi
|
||||
if [ -d "/opt/nvm" ]; then
|
||||
run "chown -R ${username} /opt/nvm" "${debug}"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
@@ -122,6 +125,9 @@ set_gid() {
|
||||
if [ -d "/etc/supervisor/custom.d" ]; then
|
||||
run "chown -R :${groupname} /etc/supervisor/custom.d" "${debug}"
|
||||
fi
|
||||
if [ -d "/opt/nvm" ]; then
|
||||
run "chown -R :${groupname} /opt/nvm" "${debug}"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user