for usuarios in `/bin/ls /var/cpanel/users`; do chown -R ${user}:${user} /home/${user}/public_html chmod 755 /home/${user}/public_html find /home/${user}/public_html -name “*.php” -exec chmod 644 {} \; find /home/${user}/public_html -type d -exec chmod 755 {} \;