1 2 3 4 |
# Reset access rights to 'rwxr-xr-x' for all subfolders of the specified directory find /home/username/public -type d -exec chmod 0755 {} \; # Reset access rights to 'rw-r--r--' for all files of the specified directory find /home/username/public -type f -exec chmod 0644 {} \; |