lacee1986
10/25/2018 - 12:57 PM

Permission fix

Fix the permission for /var/www/html folder

# Change the user and group for html folder
sudo chown -R www-data: html/

# Add write permission
sudo find html -type f -exec chmod 664 {} + -o -type d -exec chmod 775 {} +

# Add user to www-data group
sudo usermod -a -G www-data username