diff options
Diffstat (limited to 'src/firejail/restrict_users.c')
-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 cb999a4a6..6aca49b1a 100644 --- a/src/firejail/restrict_users.c +++ b/src/firejail/restrict_users.c | |||
@@ -342,7 +342,7 @@ void restrict_users(void) { | |||
342 | sanitize_home(); | 342 | sanitize_home(); |
343 | } | 343 | } |
344 | else { | 344 | else { |
345 | // user has the home diercotry outside /home | 345 | // user has the home directory outside /home |
346 | // mount tmpfs on top of /home in order to hide it | 346 | // mount tmpfs on top of /home in order to hide it |
347 | if (mount("tmpfs", "/home", "tmpfs", MS_NOSUID | MS_NODEV | MS_STRICTATIME | MS_REC, "mode=755,gid=0") < 0) | 347 | if (mount("tmpfs", "/home", "tmpfs", MS_NOSUID | MS_NODEV | MS_STRICTATIME | MS_REC, "mode=755,gid=0") < 0) |
348 | errExit("mount tmpfs"); | 348 | errExit("mount tmpfs"); |