Permissions on npm directory
This commit is contained in:
parent
f42d66c868
commit
b972805e67
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue