Symfony2 cache permissions issue ubuntu 12.10
See "Setting up Permissions" in http://symfony.com/doc/current/book/installation.html#configuration-and-setup. My preferred way in Ubuntu is setfacl, it works (just need to install a package first time):
sudo setfacl -R -m u:www-data:rwX -m u:`whoami`:rwX app/cache app/logs
sudo setfacl -dR -m u:www-data:rwx -m u:`whoami`:rwx app/cache app/logs