mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
use long options
https://github.com/Kicksecure/security-misc/issues/172
This commit is contained in:
parent
2d1d1b246f
commit
808e72f24b
@ -48,7 +48,7 @@ create_whitelist() {
|
||||
## Changing the permissions of /sys recursively
|
||||
## causes errors as the permissions of /sys/kernel/debug
|
||||
## and /sys/fs/cgroup cannot be changed.
|
||||
run_cmd_whitelist chgrp -fR "${1}" "${whitelist_path}" || true
|
||||
run_cmd_whitelist chgrp --quiet --recursive "${1}" "${whitelist_path}" || true
|
||||
|
||||
run_cmd_whitelist chmod o-rwx "${whitelist_path}"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user