Browse Source

Permissions on npm directory

Bob Mottram 7 years ago
parent
commit
b972805e67
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-utils-setup

+ 1
- 1
src/freedombone-utils-setup View File

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