sudo find /var/www/ -type d -exec chmod 755 {} \;
sudo find /var/www/ -type f -exec chmod 644 {} \;
source : https://askubuntu.com/questions/722088/reset-default-permissions-for-var-www
zuka.one©2011