www-data owner
chown -R www-data:www-data /var/www/
setting all directories with 755 permission and all files with 644 permission
sudo find /var/www -type d -exec chmod 755 {} \; sudo find /var/www -type f -exec chmod 644 {} \;
www-data owner
chown -R www-data:www-data /var/www/
setting all directories with 755 permission and all files with 644 permission
sudo find /var/www -type d -exec chmod 755 {} \; sudo find /var/www -type f -exec chmod 644 {} \;