diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d3af866..55859e6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ ## Unreleased +## Release 0.141 + +### Fixed +- Fixed correct permission for `/opt/nvm` during startup + + ## Release 0.140 ### Changed diff --git a/Dockerfiles/base/data/docker-entrypoint.d/101-uid-gid.sh b/Dockerfiles/base/data/docker-entrypoint.d/101-uid-gid.sh index 3203fec1..d889c763 100755 --- a/Dockerfiles/base/data/docker-entrypoint.d/101-uid-gid.sh +++ b/Dockerfiles/base/data/docker-entrypoint.d/101-uid-gid.sh @@ -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 }