mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-02 12:16:03 -04:00
Update hide-hardware-info
This commit is contained in:
parent
69af8be7b8
commit
e5f8004a94
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/*
|
||||
do
|
||||
if [ "${sysfs_whitelist}" = "1" ]; then
|
||||
chmod o-rwx "${i}"
|
||||
chmod o-rwx "${i}" || continue
|
||||
else
|
||||
chmod og-rwx "${i}"
|
||||
chmod og-rwx "${i}" || continue
|
||||
fi
|
||||
done
|
||||
chmod o+rx /sys /sys/fs /sys/fs/selinux
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue