This commit is contained in:
Patrick Schleizer 2019-12-20 12:32:36 -05:00
parent f88ca25889
commit 1b569ea790
No known key found for this signature in database
GPG key ID: CB8D50BB77BB3C48
2 changed files with 2 additions and 0 deletions

View file

@ -14,6 +14,7 @@
## argument. ## argument.
## SUID whitelist. ## SUID whitelist.
## TODO: white spaces inside file name untested
/usr/bin/sudo whitelist /usr/bin/sudo whitelist
/bin/sudo whitelist /bin/sudo whitelist
/usr/bin/bwrap whitelist /usr/bin/bwrap whitelist

View file

@ -176,6 +176,7 @@ set_file_perms() {
fso_without_trailing_slash="${fso%/}" fso_without_trailing_slash="${fso%/}"
if [ "$mode_from_config" = "whitelist" ]; then if [ "$mode_from_config" = "whitelist" ]; then
## TODO: test/add white spaces inside file name support
whitelist+="$fso_without_trailing_slash " whitelist+="$fso_without_trailing_slash "
continue continue
fi fi