Set the permissions of all the files to 664 (current directory and all subdirectories)
find . -type f -exec chmod 664 {} +

Set the permissions of all the directories to 775 (same as above)
find . -type d -exec chmod 775 {} +

Leave a Reply

Your email address will not be published. Required fields are marked *