This is the mail archive of the
cygwin
mailing list for the Cygwin project.
The new permission system and git
- From: "Lemke, Michael ST/HZA-ZIC2" <lemkemch at schaeffler dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Mon, 22 Jun 2015 15:30:55 +0000
- Subject: The new permission system and git
- Authentication-results: sourceware.org; auth=none
Sorry to say this but everywhere I use cygwin (work, home) these days
I run into trouble with the new permission system initially introduced
at 1.7.35 IIRC. I just did this:
$ cd //some/server
$ git init .
$ git add statistik
$ git commit
error: invalid object 040000 ab9e237892aceba0cb7447b290bdcc7437967918 for 'statistik'
error: Error building trees
$
But:
$ ls -ls .git/objects/ab/9e237892aceba0cb7447b290bdcc7437967918
4 -r--rwxr--+ 1 Administrators INA-DE01+Domain Users 365 Jun 22 16:59 .git/objects/ab/9e237892aceba0cb7447b290bdcc7437967918
Mounting the whole server directory noacl doesn't help. The only change
is that vi doesn't complain that I am editing a readonly file when saving
the commit message.
On Stackoverflow I found a workaround (http://stackoverflow.com/questions/6866913/git-commit-on-windows-cygwin-is-broken)
$ git config --add core.createobject rename
Thanks,
Michael
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple