Merge branch 'stretch' of https://github.com/bashrc/freedombone
This commit is contained in:
commit
3901ed9c53
|
@ -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/*
|
||||
|
|
|
@ -7,7 +7,8 @@ if [ -d "/lib" ];then
|
|||
if [ $COUNT -eq 0 ];then
|
||||
:
|
||||
else
|
||||
exit 1
|
||||
find -L /lib -type f -perm /022 -exec ls -l {} \;
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
if [ -d "/lib64" ];then
|
||||
|
@ -17,7 +18,8 @@ if [ -d "/lib64" ];then
|
|||
if [ $COUNT -eq 0 ];then
|
||||
:
|
||||
else
|
||||
exit 1
|
||||
find -L /lib64 -type f -perm /022 -exec ls -l {} \;
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
if [ -d "/usr/lib" ];then
|
||||
|
@ -27,7 +29,8 @@ if [ -d "/usr/lib" ];then
|
|||
if [ $COUNT -eq 0 ];then
|
||||
:
|
||||
else
|
||||
exit 1
|
||||
find -L /usr/lib -type f -perm /022 -exec ls -l {} \;
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
if [ -d "/usr/lib64" ];then
|
||||
|
@ -37,7 +40,8 @@ if [ -d "/usr/lib64" ];then
|
|||
if [ $COUNT -eq 0 ];then
|
||||
:
|
||||
else
|
||||
exit 1
|
||||
find -L /usr/lib64 -type f -perm /022 -exec ls -l {} \;
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue