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