Enough chmod for Servers

ln -s /home/nathan/src/example /var/www/example
chown -R nathan:www-data /var/www/example
chmod -R g+s /var/www/example

Separate Permissions for Directories and Files

chmod 755 $(find /var/www -type d)
chmod 644 $(find /var/www -type f)