mirror of
https://github.com/troglobit/finit.git
synced 2026-10-16 10:39:35 +00:00
Follow-up to a1af8e8: mount /tmp with perms for all users
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
b42f1e99e2
commit
6fc71b7528
1 file changed
+1
-1
+1
-1
@@ -221,7 +221,7 @@ static void fs_finalize(void)
|
||||
|
||||
/* Modern systems use tmpfs for /tmp */
|
||||
if (!fismnt("/tmp"))
|
||||
mount("tmpfs", "/tmp", "tmpfs", MS_NOSUID | MS_NODEV, "mode=0755");
|
||||
mount("tmpfs", "/tmp", "tmpfs", MS_NOSUID | MS_NODEV, "mode=1777");
|
||||
}
|
||||
|
||||
static void fs_mount(void)
|
||||
|
||||
Reference in new issue
Block a user