find /home/*/public_html/ -type d -perm 777 -exec chmod 755 {} ;>/dev/null 2>&1

find /home/*/public_html/ -type f -perm 777 -exec chmod 644 {} ;>/dev/null 2>&1