find /home/username/public_html -type d -exec chmod 750 {} \;
To chmod files recursively using find:
find /home/username/public_html -type f -exec chmod 640 {} \;
(for higher security on wordpress)
find /home/username/public_html -type d -exec chmod 750 {} \;
To chmod files recursively using find:
find /home/username/public_html -type f -exec chmod 640 {} \;
(for higher security on wordpress)