Fix stray permissions
This commit is contained in:
parent
ec48658600
commit
2a66fae204
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue