title: Symfony cache:clear Failed to remove directory
body: <p>I am unable to successfully run cache clear on my <strong>Symfony</strong> application. I have set the permissions to the <code>/var/cache directory as 777</code>. But still get this error:</p>
  <blockquote>
  <p>[Symfony\Component\Filesystem\Exception\IOException]   Failed to
  remove directory &quot;/vagrant/app/var/cache/de~/pools&quot;: .</p>
  </blockquote>
  <p>Does anyone know what I am doing wrong here?</p>
  <p>This was working before whilst I was using the file sharing type: nfs.</p>