bad yarn cache permissions

This commit is contained in:
Bob Mottram 2017-03-18 11:24:19 +00:00
parent 95702debd8
commit 16d1681d35
1 changed files with 3 additions and 0 deletions

View File

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