mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 08:28:11 +00:00
userdel: Removal of files does not require creation rights
This commit is contained in:
parent
084ba2ef9d
commit
ffc52b35fc
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