sudo chown -R www-data:www-data /var/www/website.com
sudo find /var/www/website.com -type d -exec chmod 755 {} \;
sudo find /var/www/website.com -type f -exec chmod 644 {} \;
Setting file permission file dan folder website
Permission standar yang aman adalah folder 755 dan file 644.