From 266e18e0b69846a08213535cac3504f1fc56cd62 Mon Sep 17 00:00:00 2001 From: Lucas CHOLLET Date: Sun, 24 Jul 2022 15:11:06 +0200 Subject: Base: Launch Request at session start-up --- Userland/Services/WebContent/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Services/WebContent/main.cpp') diff --git a/Userland/Services/WebContent/main.cpp b/Userland/Services/WebContent/main.cpp index 290a34b9a2..300002d33b 100644 --- a/Userland/Services/WebContent/main.cpp +++ b/Userland/Services/WebContent/main.cpp @@ -23,7 +23,7 @@ ErrorOr serenity_main(Main::Arguments) TRY(Core::System::pledge("stdio recvfd sendfd accept unix rpath")); TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil("/etc/timezone", "r")); - TRY(Core::System::unveil("/tmp/portal/request", "rw")); + TRY(Core::System::unveil("/tmp/user/%uid/portal/request", "rw")); TRY(Core::System::unveil("/tmp/portal/image", "rw")); TRY(Core::System::unveil("/tmp/portal/websocket", "rw")); TRY(Core::System::unveil(nullptr, nullptr)); -- cgit v1.2.3