title: Symfony Warning : rename (../app/cache/dev , ../app/cache/dev_old ) : Access Denied . (Code : 5)
body: <p>I am working on Symfony project.</p>
  
  <p>When i try to do :</p>
  
  <pre><code>php app/console cache:clear
  </code></pre>
  
  <p>i get the following ErrorException:</p>
  
  <pre><code>Warning : rename (../app/cache/dev , ../app/cache/dev_old ) : Access Denied . (Code : 5) in ../vendors/Symfony/src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php on line 76
  </code></pre>
  
  <p>What is the problem here? I have given all permissions to the user on my machine (Windows 7 OS). Any ideas why it is happening?</p>
  
  <p>Thank You.</p>