mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-14 10:19:30 -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/*
|
for i in /sys/* /sys/fs/*
|
||||||
do
|
do
|
||||||
if [ "${sysfs_whitelist}" = "1" ]; then
|
if [ "${sysfs_whitelist}" = "1" ]; then
|
||||||
chmod o-rwx "${i}" || continue
|
chmod o-rwx "${i}" || true
|
||||||
else
|
else
|
||||||
chmod og-rwx "${i}" || continue
|
chmod og-rwx "${i}" || true
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
chmod o+rx /sys /sys/fs /sys/fs/selinux
|
chmod o+rx /sys /sys/fs /sys/fs/selinux
|
||||||
|
Loading…
Reference in New Issue
Block a user