mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-12 19:02:21 -04:00
fix
This commit is contained in:
parent
52c46e4706
commit
fede41e6e0
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue