This commit is contained in:
Patrick Schleizer 2019-08-14 05:19:02 -04:00
parent e5da6d9699
commit f8c828b69a
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -47,6 +47,7 @@ home_folder_access_rights_lockdown() {
if [ -f "/var/cache/security-misc/state-files/$base_name" ]; then
continue
fi
echo "$0: chmod o-rwx \"$folder_name\""
chmod o-rwx "$folder_name"
## Create a state-file so we do this only once.
## Therefore a user who will manually undo this, will not get