Permissions on npm directory

This commit is contained in:
Bob Mottram 2018-01-23 12:36:21 +00:00
parent f42d66c868
commit b972805e67
1 changed files with 1 additions and 1 deletions

View File

@ -545,7 +545,7 @@ function disable_ctrl_alt_del {
function lockdown_permissions {
if [ -d /root/.npm ]; then
find /root/.npm -name package.json -exec chmod 700 {} \;
chmod -R 700 /root/.npm
fi
# All commands owned by root