summaryrefslogtreecommitdiff
path: root/Userland/Applications/3DFileViewer
diff options
context:
space:
mode:
authorLucas CHOLLET <lucas.chollet@free.fr>2022-07-24 15:28:42 +0200
committerLinus Groh <mail@linusgroh.de>2022-08-14 21:52:35 +0100
commite8115bfdb17a4792f50402ce22884910ee7de2ea (patch)
tree23a6f6fa896e61da93775933c6a9df239651cedd /Userland/Applications/3DFileViewer
parente9e94ef3cc1836c88f263e272eaff5b693741a8f (diff)
downloadserenity-e8115bfdb17a4792f50402ce22884910ee7de2ea.zip
Base: Launch FileSystemAccessServer at session start-up
Diffstat (limited to 'Userland/Applications/3DFileViewer')
-rw-r--r--Userland/Applications/3DFileViewer/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/3DFileViewer/main.cpp b/Userland/Applications/3DFileViewer/main.cpp
index 49b0a7babb..431894dc97 100644
--- a/Userland/Applications/3DFileViewer/main.cpp
+++ b/Userland/Applications/3DFileViewer/main.cpp
@@ -360,7 +360,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::pledge("stdio thread recvfd sendfd rpath unix prot_exec"));
- TRY(Core::System::unveil("/tmp/portal/filesystemaccess", "rw"));
+ TRY(Core::System::unveil("/tmp/user/%uid/portal/filesystemaccess", "rw"));
TRY(Core::System::unveil("/home/anon/Documents/3D Models", "r"));
TRY(Core::System::unveil("/res", "r"));
TRY(Core::System::unveil("/usr/lib", "r"));