sudo chown ubuntu:ubuntu -R wp-content/themes sudo chown www-data:www-data -R * sudo find . -type d -exec chmod 755 {} \; sudo find . -type f -exec chmod 644 {} \;