diff options
-rw-r--r-- | src/firejail/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/fs.c b/src/firejail/fs.c index 0e26eb505..e3b9d6137 100644 --- a/src/firejail/fs.c +++ b/src/firejail/fs.c | |||
@@ -489,7 +489,7 @@ void fs_tmpfs(const char *dir, unsigned check_owner) { | |||
489 | struct statvfs buf; | 489 | struct statvfs buf; |
490 | if (fstatvfs(fd, &buf) == -1) | 490 | if (fstatvfs(fd, &buf) == -1) |
491 | errExit("fstatvfs"); | 491 | errExit("fstatvfs"); |
492 | unsigned long flags = buf.f_flag & ~(MS_RDONLY|MS_BIND); | 492 | unsigned long flags = buf.f_flag & ~(MS_RDONLY|MS_BIND|MS_REMOUNT); |
493 | // mount via the symbolic link in /proc/self/fd | 493 | // mount via the symbolic link in /proc/self/fd |
494 | EUID_ROOT(); | 494 | EUID_ROOT(); |
495 | char *proc; | 495 | char *proc; |