summaryrefslogtreecommitdiff
path: root/Userland/Applications/PDFViewer
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/PDFViewer
parente9e94ef3cc1836c88f263e272eaff5b693741a8f (diff)
downloadserenity-e8115bfdb17a4792f50402ce22884910ee7de2ea.zip
Base: Launch FileSystemAccessServer at session start-up
Diffstat (limited to 'Userland/Applications/PDFViewer')
-rw-r--r--Userland/Applications/PDFViewer/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/PDFViewer/main.cpp b/Userland/Applications/PDFViewer/main.cpp
index 73cd91fb5e..67f9dda8dc 100644
--- a/Userland/Applications/PDFViewer/main.cpp
+++ b/Userland/Applications/PDFViewer/main.cpp
@@ -35,7 +35,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::pledge("stdio recvfd sendfd rpath unix"));
TRY(Core::System::unveil("/res", "r"));
- TRY(Core::System::unveil("/tmp/portal/filesystemaccess", "rw"));
+ TRY(Core::System::unveil("/tmp/user/%uid/portal/filesystemaccess", "rw"));
TRY(Core::System::unveil(nullptr, nullptr));
auto pdf_viewer_widget = TRY(window->try_set_main_widget<PDFViewerWidget>());