title: Composer update failed: composer.phar file could not be written
body: <p>I am trying to run the <code>php composer.phar self-update</code> command for my composer.phar file for my laravel project.  </p>
  
  <p>When I run this I get the following error:</p>
  
  <pre><code>Composer update failed: the "/Applications/MAMP/htdocs/*******/**********/composer.phar" file could not be written
  </code></pre>
  
  <p>I have looked at the permissions, and I do have read and write access for composer.phar on this machine.</p>
  
  <p>Any ideas what could be going on?  </p>