mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-02-04 07:58:50 +07:00
fix
fso: /lib/ usr/lib/security-misc/permission-hardening: line 19: /usr/bin/stat: Argument list too long https://forums.whonix.org/t/kernel-hardening/7296/326
This commit is contained in:
parent
e74d2e4f94
commit
d1d0afff34
@ -52,7 +52,7 @@ add_nosuid_statoverride_entry() {
|
||||
echo_wrapper dpkg-statoverride --add --update "$owner" "$group" "$new_mode" "$file_name"
|
||||
fi
|
||||
fi
|
||||
done < <( stat -c "%n %a %U %G" "${fso_without_trailing_slash}/"** )
|
||||
done < <( find "${fso_without_trailing_slash}/" -print0 | xargs -I{} -0 stat -c "%n %a %U %G" {} )
|
||||
}
|
||||
|
||||
set_file_perms() {
|
||||
|
Loading…
Reference in New Issue
Block a user