aboutsummaryrefslogtreecommitdiff
path: root/src/node/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/install.sh')
-rw-r--r--src/node/install.sh2
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