Browse Source

bad yarn cache permissions

Bob Mottram 8 years ago
parent
commit
16d1681d35
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/freedombone-utils-setup

+ 3
- 0
src/freedombone-utils-setup View File

@@ -440,6 +440,9 @@ function disable_ctrl_alt_del {
440 440
 
441 441
 function lockdown_permissions {
442 442
     # All commands owned by root
443
+    if [ -d /usr/local/share/.cache/yarn ]; then
444
+        rm -rf /usr/local/share/.cache/yarn
445
+    fi
443 446
     if [ -d /bin ]; then
444 447
         chown root:root /bin/*
445 448
     fi