title: Unable to write cache
body: <p>Hi all im working with Symfony2. I dont have problems with the project in my computer but when i upload the files in the web server, fails for cache permissions.</p>
  
  <p>I set the permissions in my computer with this steps:</p>
  
  <pre><code>$ rm -rf app/cache/*
  $ rm -rf app/logs/*
  $ APACHEUSER=`ps aux | grep -E '[a]pache|[h]ttpd' | grep -v root | head -1 | cut -d\  -f1`
  $ sudo setfacl -R -m u:$APACHEUSER:rwX -m u:`whoami`:rwX app/cache app/logs
  $ sudo setfacl -dR -m u:$APACHEUSER:rwX -m u:`whoami`:rwX app/cache app/logs
  </code></pre>
  
  <p>As sugest <a href="http://symfony.com/doc/current/book/installation.html#configuration-and-setup" rel="nofollow">The Doc</a>.
  So, upload the app/cache and app/logs (empty) folders to my webserver.
  Whe in try access to the web project, Symfony says:</p>
  
  <blockquote>
    <p>Fatal error: Uncaught exception 'RuntimeException' with message 'Could
    not create cache directory
    "/home/coleman/public_html/apps/app/cache/prod/annotations"</p>
  </blockquote>
  
  <p>I check the folder with Filezilla, and the permissions are 666 (read and write for all).
  I dont know that are wrong.</p>
  
  <p>Any ideas ?.</p>