title: git: Unable to index file - permission denied
body: <p>Only for one file, I am getting the following error:</p>
  
  <pre><code>error: unable to write sha1 filename /opt/www/.git/objects/3f/ce3587c54a8be14c69b08c6b01f94949b11b47: Permission denied
  
  error: wp/wp-admin/css/theme-install.dev.css: failed to insert into database
  fatal: unable to index file wp/wp-admin/css/theme-install.dev.css
  </code></pre>
  
  <p>I checked my permissions on the file in question, the <strong>.git</strong> objects directory in question, and <strong>.git</strong> itself. I can add any other files except for this one. I could <code>stat/r/w/touch</code> the file, and touching did not help. The <strong>permissions</strong> are all correct. </p>
  
  <p>Is this some crazy bug?</p>