how to change permissions of files recursively in linux using the chmod command code example
Example 1: how to give permission recursively in linux
chmod -R u=rwx,go=rx /tofile_path
Example 2: find change permissions to subdirectories
sudo find /var/www/html -type d -exec chmod 755 {} \;