title: Permissions issue when trying to install Symfony Application with Composer
body: <p><strong>Please refrain from commenting your suggestion unless you've read through my list of troubleshooting steps. I am updating this list as suggestions come in.</strong></p>
  
  <p>On my co-worker's Windows 7 environment, when trying to install one of our apps built on Symfony 2.5.*, we get the following problem with <code>unlink</code>:</p>
  
  <p><img src="https://i.stack.imgur.com/Dw29t.jpg" alt="Composer Install Error"></p>
  
  <p>We have tried the following:</p>
  
  <ul>
  <li>Running <code>composer self-update</code></li>
  <li>Running <code>composer update</code> instead of <code>composer install</code> (which resulted in the same error below)</li>
  <li>Running the git bash in Administrator mode</li>
  <li>Running <code>composer install</code> from an Administrator DOS shell instead of the git bash</li>
  <li>Cloning our repository in multiple locations, including directly on the User Desktop</li>
  <li>Changing the permissions of the files to give full control and ownership to the current user (recursively)</li>
  <li>Changing the permissions of the files to give full control and ownership to "Everybody" (recursively)</li>
  <li>Changing the permissions of the files to give full control and ownership to "SYSTEM" (recursively)</li>
  <li>Starting a new project from scratch using <code>composer create-project symfony/framework-standard-edition test/ "2.5.*"</code> and <code>composer create-project symfony/framework-standard-edition path/ "2.3.*"</code> (in case the issue is version-specific)</li>
  <li>Trying on a different Windows 7 machine (with the same result)</li>
  <li>Removing the vendor folder and clearing the composer cache</li>
  <li>Turning off the Indexer (Windows Search System)</li>
  </ul>
  
  <p>Any ideas on what's going on? Is this a composer bug, or one of the pleasures of working with Windows? Everything above runs fine on my OSX machine.</p>
  
  <p>Another debugging note... when I try to manually unlink with <code>php -r "unlink('...');"</code> it deletes the file in question no problems</p>