title: Permissions issues on Symfony2
body: <p>This question has been asked several times but none of the solutions fix it in my situation.</p>
  
  <p>I am running Apache on Mac OSX Lion. This <code>http://localhost/Symfony/web/config.php</code> URL triggers 2 major problems:</p>
  
  <pre><code>Change the permissions of the "app/cache/" directory so that the web server can write into it.
  Change the permissions of the "app/logs/" directory so that the web server can write into it.
  </code></pre>
  
  <p>Following the <a href="http://symfony.com/doc/current/book/installation.html">guide</a> under "Setting up Permissions":</p>
  
  <pre><code>rm -rf app/cache/*
  rm -rf app/logs/*
  sudo chmod +a "_www allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
  sudo chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
  </code></pre>
  
  <p>That doesn't solve the problems, so then I tried:</p>
  
  <pre><code>sudo chmod -R 777 app/cache
  </code></pre>
  
  <p>That doesn't work either. Any ideas how to fix this?</p>