Quellcode durchsuchen

Permissions on npm directory

Bob Mottram vor 7 Jahren
Ursprung
Commit
b972805e67
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      src/freedombone-utils-setup

+ 1
- 1
src/freedombone-utils-setup Datei anzeigen

@@ -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