fix permissions for password files