diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/restrict_users.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/restrict_users.c b/src/firejail/restrict_users.c index 9e0c789aa..5ef9524d7 100644 --- a/src/firejail/restrict_users.c +++ b/src/firejail/restrict_users.c | |||
@@ -345,7 +345,7 @@ void restrict_users(void) { | |||
345 | sanitize_home(); | 345 | sanitize_home(); |
346 | } | 346 | } |
347 | else { | 347 | else { |
348 | // user has the home diercotry outside /home | 348 | // user has the home directory outside /home |
349 | // mount tmpfs on top of /home in order to hide it | 349 | // mount tmpfs on top of /home in order to hide it |
350 | if (mount("tmpfs", "/home", "tmpfs", MS_NOSUID | MS_NODEV | MS_STRICTATIME | MS_REC, "mode=755,gid=0") < 0) | 350 | if (mount("tmpfs", "/home", "tmpfs", MS_NOSUID | MS_NODEV | MS_STRICTATIME | MS_REC, "mode=755,gid=0") < 0) |
351 | errExit("mount tmpfs"); | 351 | errExit("mount tmpfs"); |