sanity test

This commit is contained in:
Patrick Schleizer 2019-08-14 09:45:30 +00:00
parent dee195d89e
commit 547ba91d79
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -48,6 +48,9 @@ home_folder_access_rights_lockdown() {
if [ ! -d "$folder_name" ]; then
continue
fi
if [ "$folder_name" = "/home/" ]; then
continue
fi
mkdir -p /var/cache/security-misc/state-files
echo "$0: chmod o-rwx \"$folder_name\""
chmod o-rwx "$folder_name"