From 9050058bc2427a701095901a5bd275767437391b Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sat, 21 Dec 2019 07:42:01 -0500 Subject: [PATCH] fix --- usr/lib/security-misc/permission-hardening-undo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/lib/security-misc/permission-hardening-undo b/usr/lib/security-misc/permission-hardening-undo index 73b871f..594a11e 100755 --- a/usr/lib/security-misc/permission-hardening-undo +++ b/usr/lib/security-misc/permission-hardening-undo @@ -33,8 +33,8 @@ undo_all() { stat -c "%n %a %U %G" "$file_name" || true - chmod "$mode" "$file_name" || exit_code=202 - chown "${owner}:${group}" "$file_name" || exit_code=203 + chown "${owner}:${group}" "$file_name" || exit_code=202 + chmod "$mode" "$file_name" || exit_code=203 stat -c "%n %a %U %G" "$file_name" || true