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 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));