X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id:content-type
	:content-transfer-encoding:mime-version; q=dns; s=default; b=ZsD
	uRY90curG4jzBw8OWPQCdnuYU5wtG82t7lMmBSkzm2jb4ipFofZnXtXuqnJbCuh7
	jqcCrtj/bcQkf6qOLhDhtWRzTvQojV5yrCrWL7U/MTOhu29/ALtugT8VnxiwFjU8
	4G5ncdTQVb+mJtQdDYd3cH7YyEymzRUnEmfT0ZCQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id:content-type
	:content-transfer-encoding:mime-version; s=default; bh=W+umVemrQ
	1oyjfaGjPdGQAYQKR8=; b=jN+Nr9BRv6CwNokBau0nBS7yvnQCu3w2jWH8XgO3J
	bDtNEMztcPXUtThKw5+3dlzEE6y1HczYQxASoD/8jr+Cx1EXk/gIlf7LH7Qu/XFg
	KFdndVRVz6Sq6BqDUP24gXyp/aml5lua8UuOyiKZ4yFPi/TBTZV2fgINLYQexzaH
	vo=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: cluster-j.mailcontrol.com
From: "Lemke, Michael  ST/HZA-ZIC2" <lemkemch@schaeffler.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: The new permission system and git
Date: Mon, 22 Jun 2015 15:30:55 +0000
Message-ID: <33EC3398272FBE47B64EE3B3E98F69A76C437B7A@de011521.schaeffler.com>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t5MFVFUt025603

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


