diff options
-rw-r--r-- | etc/snap.profile | 2 | ||||
-rw-r--r-- | src/firejail/fs_var.c | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/etc/snap.profile b/etc/snap.profile index 270fdf1a5..e2ada3a99 100644 --- a/etc/snap.profile +++ b/etc/snap.profile | |||
@@ -9,6 +9,4 @@ whitelist ~/snap | |||
9 | whitelist ${DOWNLOADS} | 9 | whitelist ${DOWNLOADS} |
10 | include /etc/firejail/whitelist-common.inc | 10 | include /etc/firejail/whitelist-common.inc |
11 | 11 | ||
12 | caps.keep chown,sys_admin | ||
13 | |||
14 | 12 | ||
diff --git a/src/firejail/fs_var.c b/src/firejail/fs_var.c index 86122e1c0..f742e7e22 100644 --- a/src/firejail/fs_var.c +++ b/src/firejail/fs_var.c | |||
@@ -106,8 +106,7 @@ static void build_dirs(void) { | |||
106 | void fs_var_log(void) { | 106 | void fs_var_log(void) { |
107 | build_list("/var/log"); | 107 | build_list("/var/log"); |
108 | 108 | ||
109 | // note: /var/log is not created here, if it does not exist, this section fails. Intended? | 109 | // note: /var/log is not created here, if it does not exist, this section fails. |
110 | |||
111 | // create /var/log if it doesn't exit | 110 | // create /var/log if it doesn't exit |
112 | if (is_dir("/var/log")) { | 111 | if (is_dir("/var/log")) { |
113 | // extract group id for /var/log/wtmp | 112 | // extract group id for /var/log/wtmp |