diff options
Diffstat (limited to 'src/node/install.sh')
-rwxr-xr-x | src/node/install.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/node/install.sh b/src/node/install.sh index 8eae62e..6a237d6 100755 --- a/src/node/install.sh +++ b/src/node/install.sh @@ -120,7 +120,7 @@ umask 0002 usermod -a -G nvm ${USERNAME} mkdir -p ${NVM_DIR} chown "${USERNAME}:nvm" ${NVM_DIR} -chmod g+s ${NVM_DIR} +chmod -R g+r+w ${NVM_DIR} su ${USERNAME} -c "$(cat << EOF set -e umask 0002 @@ -185,4 +185,6 @@ if [ "${INSTALL_TOOLS_FOR_NODE_GYP}" = "true" ]; then fi fi +find "${NVM_DIR}" -type d -print0 | xargs -n 1 -0 chmod g+s + echo "Done!" |