How to perform a mass change of permissions across Linux file systems and folders

Works from the current directory you are in, be careful not to run this from root.

sudo find . -type f -exec chmod 0664 {} \;
sudo find . -type d -exec chmod 0775 {} \;

Leave a Reply

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