From 7fdfad408812a914339ac5ff0b2c5b548fb90d26 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Tue, 30 Dec 2025 16:16:50 +0200 Subject: [PATCH] Kernel: Mount /tmp with sticky bit set --- kernel/kernel/FS/VirtualFileSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/kernel/FS/VirtualFileSystem.cpp b/kernel/kernel/FS/VirtualFileSystem.cpp index 4a757147..682d90a9 100644 --- a/kernel/kernel/FS/VirtualFileSystem.cpp +++ b/kernel/kernel/FS/VirtualFileSystem.cpp @@ -174,7 +174,7 @@ namespace Kernel MUST(s_instance->mount(root_creds, &ProcFileSystem::get(), "/proc"_sv)); - auto tmpfs = MUST(TmpFileSystem::create(-1, 0777, 0, 0)); + auto tmpfs = MUST(TmpFileSystem::create(-1, 01777, 0, 0)); MUST(s_instance->mount(root_creds, tmpfs, "/tmp"_sv)); }