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