mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:27:35 +00:00
Base: Launch FileSystemAccessServer at session start-up
This commit is contained in:
parent
e9e94ef3cc
commit
e8115bfdb1
12 changed files with 19 additions and 20 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue