mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
userdel: Removal of files does not require creation rights
This commit is contained in:
parent
084ba2ef9d
commit
ffc52b35fc
Notes:
sideshowbarker
2024-07-16 19:32:42 +09:00
Author: https://github.com/BenWiederhake
Commit: ffc52b35fc
Pull-request: https://github.com/SerenityOS/serenity/pull/18936
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/gmta
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
auto& target_account = account_or_error.value();
|
||||
|
||||
if (remove_home)
|
||||
TRY(Core::System::unveil(target_account.home_directory(), "c"sv));
|
||||
TRY(Core::System::unveil(target_account.home_directory(), "r"sv));
|
||||
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue