From http://stackoverflow.com/questions/2300486/correct-folder-permissions-for-symfony-on-linux