cd /home/username/public_htmlfind . -type d -exec chmod 0755 {} \;find . -type f -exec chmod 0644 {} \;