Skip to content

Commit

Permalink
Fixed correct permission for /opt/nvm during startup
Browse files Browse the repository at this point in the history
  • Loading branch information
cytopia committed Jul 1, 2022
1 parent 9cbb2d3 commit 4b9739a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
## Unreleased


## Release 0.141

### Fixed
- Fixed correct permission for `/opt/nvm` during startup


## Release 0.140

### Changed
Expand Down
6 changes: 6 additions & 0 deletions Dockerfiles/base/data/docker-entrypoint.d/101-uid-gid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 4b9739a

Please sign in to comment.