From dea0d9a78a99c441a1738f88cef2cd3c5f433454 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sun, 5 Nov 2023 16:40:49 -0500 Subject: [PATCH] fix permission-hardener config parsing issue --- usr/bin/permission-hardening | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usr/bin/permission-hardening b/usr/bin/permission-hardening index f3bb803..e617eea 100755 --- a/usr/bin/permission-hardening +++ b/usr/bin/permission-hardening @@ -469,6 +469,11 @@ set_file_perms() { } parse_config_folder() { + touch /var/lib/permission-hardening/private/passwd + chmod og-rwx /var/lib/permission-hardening/private/passwd + touch /var/lib/permission-hardening/private/group + chmod og-rwx /var/lib/permission-hardening/private/group + local passwd_file_contents_temp # Query contents of password and group databases only once and buffer them #