Permissions

This commit is contained in:
fsoppelsa 2013-07-05 15:13:20 +02:00
parent 1239acfb0c
commit d90a404761
1 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,11 @@ else
fi fi
fi fi
# Set permissions for multi user environment
if [ `whoami` == 'root' ]; then
chmod -R u+rwX,g+rwX,o+rX $NVM_DIR
fi
SOURCE_STR="[[ -s "$NVM_DIR/nvm.sh" ]] && . "$NVM_DIR/nvm.sh" # This loads NVM" SOURCE_STR="[[ -s "$NVM_DIR/nvm.sh" ]] && . "$NVM_DIR/nvm.sh" # This loads NVM"
if [ -z "$PROFILE" ] || [ ! -f "$PROFILE" ] ; then if [ -z "$PROFILE" ] || [ ! -f "$PROFILE" ] ; then