mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-13 17:29:47 +07:00
use long options
https://github.com/Kicksecure/security-misc/issues/172
This commit is contained in:
@ -48,7 +48,7 @@ create_whitelist() {
|
|||||||
## Changing the permissions of /sys recursively
|
## Changing the permissions of /sys recursively
|
||||||
## causes errors as the permissions of /sys/kernel/debug
|
## causes errors as the permissions of /sys/kernel/debug
|
||||||
## and /sys/fs/cgroup cannot be changed.
|
## 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}"
|
run_cmd_whitelist chmod o-rwx "${whitelist_path}"
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user