lockdown any node modules
This commit is contained in:
parent
d35e9be67d
commit
a30668346a
|
@ -590,6 +590,9 @@ function lockdown_permissions {
|
|||
fi
|
||||
if [ -d /usr/lib ]; then
|
||||
chown -R root:root /usr/lib/*
|
||||
if [ -d /usr/lib/node_modules ]; then
|
||||
chmod -R 750 /usr/lib/node_modules/*
|
||||
fi
|
||||
fi
|
||||
if [ -d /usr/lib64 ]; then
|
||||
chown -R root:root /usr/lib64/*
|
||||
|
|
Loading…
Reference in New Issue