summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas CHOLLET <lucas.chollet@free.fr>2023-01-14 19:21:41 -0500
committerSam Atkins <atkinssj@gmail.com>2023-02-16 10:56:01 +0000
commitd5f77710390fe83abdb3867a533a5da13815c041 (patch)
treea6b33e2208ccae276f4782e15ccba6320e047b95
parent851b887cd07a81e38655737fde74d8f0203552e6 (diff)
downloadserenity-d5f77710390fe83abdb3867a533a5da13815c041.zip
3DFileViewer: Don't unveil "/home/anon/Documents/3D Models"
Usage of models is now done by `LibFileSystemAccessClient`.
-rw-r--r--Userland/Applications/3DFileViewer/main.cpp1
1 files changed, 0 insertions, 1 deletions
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<int> 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));