We will learn How to recursively change the permissions of files and directories in ubuntu


Example:

sudo find foldername -exec chmod a+rwx {} ";"

Give more specific!

sudo find foldername -type d -exec chmod 755 {} ";"
sudo find foldername -type f -exec chmod 644 {} ";"

May this help you.