diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2022-06-15 19:53:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-15 19:53:43 +0300 |
commit | 0ed472aa25bd1a21acf431cbb85b7528ff0cf10a (patch) | |
tree | 7a7a2bb78f979fc62e79814250fb7e5a31426ee9 /src/node | |
parent | bc30428c914785479148f999114494a6a1f603d0 (diff) |
Fix permissions: add username:user_group (#50)
* add username:user_group
* fix remaining permissions
* add *
* remove *
Diffstat (limited to 'src/node')
-rw-r--r-- | src/node/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/install.sh b/src/node/install.sh index bb71c64..b846007 100644 --- a/src/node/install.sh +++ b/src/node/install.sh @@ -121,7 +121,7 @@ fi umask 0002 usermod -a -G nvm ${USERNAME} mkdir -p ${NVM_DIR} -chown :nvm ${NVM_DIR} +chown "${USERNAME}:nvm" ${NVM_DIR} chmod g+s ${NVM_DIR} su ${USERNAME} -c "$(cat << EOF set -e |