From d5f77710390fe83abdb3867a533a5da13815c041 Mon Sep 17 00:00:00 2001 From: Lucas CHOLLET Date: Sat, 14 Jan 2023 19:21:41 -0500 Subject: [PATCH] 3DFileViewer: Don't unveil "/home/anon/Documents/3D Models" Usage of models is now done by `LibFileSystemAccessClient`. --- Userland/Applications/3DFileViewer/main.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Userland/Applications/3DFileViewer/main.cpp b/Userland/Applications/3DFileViewer/main.cpp index f1d6e886f1..11e5040157 100644 --- a/Userland/Applications/3DFileViewer/main.cpp +++ b/Userland/Applications/3DFileViewer/main.cpp @@ -353,7 +353,6 @@ ErrorOr serenity_main(Main::Arguments arguments) TRY(Core::System::pledge("stdio thread recvfd sendfd rpath unix prot_exec")); TRY(Core::System::unveil("/tmp/session/%sid/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")); TRY(Core::System::unveil(nullptr, nullptr));