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