diff --git a/src/freedombone-utils-setup b/src/freedombone-utils-setup index 629e8ba2..7d8d6959 100755 --- a/src/freedombone-utils-setup +++ b/src/freedombone-utils-setup @@ -488,6 +488,10 @@ function disable_ctrl_alt_del { } function lockdown_permissions { + if [ -d /root/.npm ]; then + find /root/.npm -name package.json -exec chmod 700 {} \; + fi + # All commands owned by root if [ -d /root/.cache/yarn ]; then rm -rf /root/.cache/yarn