title: Permissions for local development with git and MAMP
body: <p>I'm setting up a new machine on a clean account. I'm developing locally on a Mac (OSX 10.8.2) with MAMP Pro and I use git for version control. I'm having a permissions problem...</p>
  
  <p>MAMP Pro allows you to set permission to the host directory using the following dialog: 
  <img src="https://i.stack.imgur.com/Ck7pz.png" alt="enter image description here"></p>
  
  <p>When I set the owner to myself (ESL) and the group to "Admin" git works happily, but Wordpress updates on my local machine aren't able to run normally (I get prompted for ftp credentials).</p>
  
  <p>When I set the owner and group to "www", Wordpress updates smoothly, but git throws "Permission denied" errors such as:</p>
  
  <pre><code>ESL$ git checkout master
  fatal: Unable to create '/Applications/MAMP/htdocs/streetofwalls/.git/index.lock': Permission denied
  </code></pre>
  
  <p>I'm stuck because I need Wordpress to run normally as well as git. Any ideas why I'm having this problem and/or how to fix it?</p>