find change permissions to subdirectories

Shell
sudo find /var/www/html -type d -exec chmod 755 {} \;

Source

Also in Shell: