diff options
author | 2021-01-15 15:31:48 +0100 | |
---|---|---|
committer | 2021-01-15 15:31:48 +0100 | |
commit | 2211efc5795929235eb42684ed4618088be987e1 (patch) | |
tree | 12dfc63bff1cf00564e0ecbb8719717f651f355e /src | |
parent | fbuilder: don't suggest to whitelist strace output file (diff) | |
download | firejail-2211efc5795929235eb42684ed4618088be987e1.tar.gz firejail-2211efc5795929235eb42684ed4618088be987e1.tar.zst firejail-2211efc5795929235eb42684ed4618088be987e1.zip |
blacklist firejail appimage dir if not used
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/fs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/firejail/fs.c b/src/firejail/fs.c index 0d4e496e8..4e6c1adc3 100644 --- a/src/firejail/fs.c +++ b/src/firejail/fs.c | |||
@@ -795,6 +795,8 @@ void disable_config(void) { | |||
795 | disable_file(BLACKLIST_FILE, RUN_FIREJAIL_PROFILE_DIR); | 795 | disable_file(BLACKLIST_FILE, RUN_FIREJAIL_PROFILE_DIR); |
796 | if (stat(RUN_FIREJAIL_X11_DIR, &s) == 0) | 796 | if (stat(RUN_FIREJAIL_X11_DIR, &s) == 0) |
797 | disable_file(BLACKLIST_FILE, RUN_FIREJAIL_X11_DIR); | 797 | disable_file(BLACKLIST_FILE, RUN_FIREJAIL_X11_DIR); |
798 | if (!arg_appimage && stat(RUN_FIREJAIL_APPIMAGE_DIR, &s) == 0) | ||
799 | disable_file(BLACKLIST_FILE, RUN_FIREJAIL_APPIMAGE_DIR); | ||
798 | } | 800 | } |
799 | 801 | ||
800 | 802 | ||