mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-03 13:34:48 -04:00
use long options
https://github.com/Kicksecure/security-misc/issues/172
This commit is contained in:
parent
2d1d1b246f
commit
808e72f24b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue