mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-13 20:29:29 -05:00
fix
This commit is contained in:
parent
52c46e4706
commit
fede41e6e0
@ -93,9 +93,9 @@ if [ -d /sys/fs/selinux ]; then
|
||||
for i in /sys/* /sys/fs/*
|
||||
do
|
||||
if [ "${sysfs_whitelist}" = "1" ]; then
|
||||
chmod o-rwx "${i}" || continue
|
||||
chmod o-rwx "${i}" || true
|
||||
else
|
||||
chmod og-rwx "${i}" || continue
|
||||
chmod og-rwx "${i}" || true
|
||||
fi
|
||||
done
|
||||
chmod o+rx /sys /sys/fs /sys/fs/selinux
|
||||
|
Loading…
Reference in New Issue
Block a user