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.
## SUID whitelist.
## TODO: white spaces inside file name untested
/usr/bin/sudo whitelist
/bin/sudo whitelist
/usr/bin/bwrap whitelist

View File

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