Revert "SQLServer: Unveil /etc/passwd"

This reverts commit c3bd841d50.
This commit is contained in:
MacDue 2023-02-04 16:01:54 +00:00 committed by Andreas Kling
parent 808f0c6837
commit ab5bdc598d

View file

@ -19,7 +19,6 @@ ErrorOr<int> serenity_main(Main::Arguments)
auto database_path = DeprecatedString::formatted("{}/sql", Core::StandardPaths::data_directory());
TRY(Core::Directory::create(database_path, Core::Directory::CreateDirectories::Yes));
TRY(Core::System::unveil("/etc/passwd"sv, "r"sv));
TRY(Core::System::unveil(database_path, "rwc"sv));
TRY(Core::System::unveil(nullptr, nullptr));