diff options
Diffstat (limited to 'src/firejail/fs.c')
-rw-r--r-- | src/firejail/fs.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/firejail/fs.c b/src/firejail/fs.c index 6c566bd90..572b08205 100644 --- a/src/firejail/fs.c +++ b/src/firejail/fs.c | |||
@@ -754,8 +754,8 @@ void fs_basic_fs(void) { | |||
754 | fs_rdonly("/usr"); | 754 | fs_rdonly("/usr"); |
755 | 755 | ||
756 | // update /var directory in order to support multiple sandboxes running on the same root directory | 756 | // update /var directory in order to support multiple sandboxes running on the same root directory |
757 | if (!arg_private_dev) | 757 | // if (!arg_private_dev) |
758 | fs_dev_shm(); | 758 | // fs_dev_shm(); |
759 | fs_var_lock(); | 759 | fs_var_lock(); |
760 | fs_var_tmp(); | 760 | fs_var_tmp(); |
761 | fs_var_log(); | 761 | fs_var_log(); |
@@ -1061,8 +1061,8 @@ void fs_overlayfs(void) { | |||
1061 | errExit("chroot"); | 1061 | errExit("chroot"); |
1062 | 1062 | ||
1063 | // update /var directory in order to support multiple sandboxes running on the same root directory | 1063 | // update /var directory in order to support multiple sandboxes running on the same root directory |
1064 | if (!arg_private_dev) | 1064 | // if (!arg_private_dev) |
1065 | fs_dev_shm(); | 1065 | // fs_dev_shm(); |
1066 | fs_var_lock(); | 1066 | fs_var_lock(); |
1067 | fs_var_tmp(); | 1067 | fs_var_tmp(); |
1068 | fs_var_log(); | 1068 | fs_var_log(); |
@@ -1233,8 +1233,8 @@ void fs_chroot(const char *rootdir) { | |||
1233 | 1233 | ||
1234 | if (checkcfg(CFG_CHROOT_DESKTOP)) { | 1234 | if (checkcfg(CFG_CHROOT_DESKTOP)) { |
1235 | // update /var directory in order to support multiple sandboxes running on the same root directory | 1235 | // update /var directory in order to support multiple sandboxes running on the same root directory |
1236 | if (!arg_private_dev) | 1236 | // if (!arg_private_dev) |
1237 | fs_dev_shm(); | 1237 | // fs_dev_shm(); |
1238 | fs_var_lock(); | 1238 | fs_var_lock(); |
1239 | fs_var_tmp(); | 1239 | fs_var_tmp(); |
1240 | fs_var_log(); | 1240 | fs_var_log(); |