How to troubleshoot git "unable to set permission" on adding project?
- by Brian Knoblauch
Finally decided to move from Subversion to Git, but am having problems with my first project. Did my "git init" and am trying to do a "git add" of my project, but it's failing with:
$ git add .
error: unable to set permission to '.git/objects/6b/6018c1c76dc5ec159d5cb65bab72
fa300d52f6'
error: build.xml: failed to insert into database
error: unable to index file build.xml
fatal: adding files failed
I have full permissions to the directories in question. The only odd thing about it is that it's a drive mounted (and mapped) from a server over CIFS. No problems creating/editing files/permissions with other applications. The host is Windows Vista x64 and I'm running git under Cygwin. Server is Windows 2008.
Any other ideas on what I might be doing wrong?