diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2023-05-20 10:55:25 +0200 |
---|---|---|
committer | Jelle Raaijmakers <jelle@gmta.nl> | 2023-05-29 13:45:01 +0200 |
commit | ffc52b35fc2a7c0c6656996655ed349ead1569dc (patch) | |
tree | 07c5bf30a390a3b916fc2e35f42ef11a30d6099c /Userland/Utilities | |
parent | 084ba2ef9d40a42f4f49a3a3512a7eda10f7ed6a (diff) | |
download | serenity-ffc52b35fc2a7c0c6656996655ed349ead1569dc.zip |
userdel: Removal of files does not require creation rights
Diffstat (limited to 'Userland/Utilities')
-rw-r--r-- | Userland/Utilities/userdel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/userdel.cpp b/Userland/Utilities/userdel.cpp index f8d29b027f..472b90d292 100644 --- a/Userland/Utilities/userdel.cpp +++ b/Userland/Utilities/userdel.cpp @@ -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)); |