diff --git a/usr/libexec/security-misc/permission-lockdown b/usr/libexec/security-misc/permission-lockdown index 8e807ff..372fc2f 100755 --- a/usr/libexec/security-misc/permission-lockdown +++ b/usr/libexec/security-misc/permission-lockdown @@ -35,11 +35,9 @@ home_folder_access_rights_lockdown() { # Each users home directory to himself for user in $(dir /home); do # lists directories only if [ grep -q "$user" /etc/passwd ]; then # check if user actually exists, and this is not some random directory - if [ -f /var/cache/security-misc/state-files/$user ] - continue # only doing once - fi dpkg-statoverride --add --update $user $user 0700 /home/$user # home directory of the user itself - touch /var/cache/security-misc/state-files/$user # so that we know we did this one + echo "Permission updated: chmod go-rwx /home/$user" + fi done }