www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT 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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=oZ3tp02VkXNlaSszRQAMF0IDXuILx1n55w4VZEBjyZctICmSKXnRN | |
5HzbX9LqL4Lh7+CJC0YX+HiuU8Pg1lvbNaEl6crgsisjKUg0uXEq2F9dPWoj0+GE | |
2sXDNDlfo8cKIkW7R0DC5mpW11j5yR0X72BYmc0YCilHlTbvnE5Q+w= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=GhTPERHBp7/Br2FWalF7/6mbef8=; b=GTnl4RCfm+AldTxjMwBTFy6whiKT | |
Q2rFBarbjKzRpP4Kfo/5DFmEvphLxRn8prNdEDlvoIE4GLkanypqNzV3wHrwrQbc | |
ZdmthlPklbR3oQyDsIRy+HmYMYPlb7OuX5/Zu1YyP1Y60JsvLrsoBT4Glb1NkGMc | |
qFLX6qkRPxVpvuA= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-94.7 required=5.0 tests=BAYES_40,KAM_LAZY_DOMAIN_SECURITY,KHOP_DYNAMIC,RCVD_IN_PBL,RDNS_DYNAMIC,USER_IN_WHITELIST autolearn=no version=3.3.2 spammy=H*R:D*cygwin.com, H*f:sk:56A8C67, H*MI:sk:56A8C67, H*i:sk:56A8C67 |
X-HELO: | calimero.vinschen.de |
Date: | Wed, 27 Jan 2016 15:53:14 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: git clone fails with: error: chmod on config.lock failed: Invalid argument |
Message-ID: | <20160127145314.GE547@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <trinity-3a438ac3-41ea-4364-8a55-e9750829ee24-1453898493961 AT 3capp-gmx-bs63> <56A8C67A DOT 6070101 AT cornell DOT edu> |
MIME-Version: | 1.0 |
In-Reply-To: | <56A8C67A.6070101@cornell.edu> |
User-Agent: | Mutt/1.5.24 (2015-08-30) |
--sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jan 27 08:30, Ken Brown wrote: > On 1/27/2016 7:41 AM, Rainer Blome wrote: > >Hi! > > > >When I use "git clone foo bar" on a Linux host, it works as expected. > > > > git clone foo bar > > Cloning into 'bar'... > > done. > > > >When I use the same command on my Cygwin 64 installation, this used > >to work, but does not work any more. I can fetch and otherwise use > >Git in existing repos all right (have not noticed anything else > >amiss), but the clone command fails like this: > > > >---- > >cd /cygdrive/c/base > >git clone foo bar > >Cloning into 'bar'... > >error: chmod on /cygdrive/c/base/bar/.git/config.lock failed: Invalid ar= gument > >error: chmod on /cygdrive/c/base/bar/.git/config.lock failed: Invalid ar= gument > >error: chmod on /cygdrive/c/base/bar/.git/config.lock failed: Invalid ar= gument > >error: chmod on /cygdrive/c/base/bar/.git/config.lock failed: Invalid ar= gument > >error: chmod on /cygdrive/c/base/bar/.git/config.lock failed: Invalid ar= gument > >fatal: 'origin' does not appear to be a git repository > >fatal: Could not read from remote repository. > > > >Please make sure you have the correct access rights > >and the repository exists. > >---- > > > >Directory `bar` exists neither before nor after the attempted cloning. > >In the parent directory, manually creating a subdirectory works as > >expected: > > > > /cygdrive/c/base> mkdir bar; ls -ld bar; rmdir bar > > drwx------+ 1 username 123 0 Jan 27 13:13 bar > > > >The issue is not restricted to local cloning, the same messages are > >printed when I attempt to clone from a remote host (from which I > >can clone just fine from a Linux client). > > > >Searching the internet for "cygwin git error chmod on config.lock > >failed: Invalid argument" gave not useful results. > > > >I first noticed the issue after having upgraded to Cygwin 2.4.0-1. > >Juding from the directory creation times in `base`, > >it looks like the last successful clone happened on 2015-07-28. > >I do not know which version of Cygwin I used at that time, > >I update roughly once a month. > > > >Today, I upgraded to 2.4.1-1, the issue persists. > > > >I tried downgrading git from 2.7 to 2.6 via the installer. > >The issue persisted, so I rolled forward again, the issue persisted. > > > >How can I troubleshoot this further? >=20 > There might be a problem with the default ACL on the directory > /cygdrive/c/base. What does 'getfacl /cygdrive/c/base' show? Also, what does the native windows icacls command print for that directory? The setup of the ACL may give us a hint why git apparently fails to create the bar subdir. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWqNnaAAoJEPU2Bp2uRE+gF0sP/0Fo758kb5cJtKAD/nTsfqzG kyZePhoOs/urZJ/D6DXsfQu6rbPMpSpnFjEQHzv5f5Z9fh0pTrVQr/j1YB7WNFGq g/KBpTix0iKJoRSeXXUrZKO7jI3JTRzM70q8HgOtSNyh5ZbhAJq2AKMYeK8TGPMI mwaOZ3zBbfozFJfDqaoqjURiYaZ5GD1YCsk6VfA09osVk63BeBqEOJdogNrWQ278 OOFS/hcmQF3ElVrU0k1pLJkhUufxM78tjBu5HMTdOQhzLFbQAAw02PCforK9ZuTG VPKH5wYJQhtNWSazkerNoUE0TgGksw+5qRk38JKaPkrvKR7PN+6NeIN+YFR/e8D+ zDc9PIPMTGuvICUpVRlHRfyRVfvK/pPIcxaXa8oxv7iBXcA4B8qbzVccC2763HK9 Z+c6Dv7j1lC1+fn+n6rs+x0u5nNp0cJq+LKVVZWYjW2wboPsSyTDcweCUyQxRJKr jm4PQl//UGXz0CyMpiES91Y4oEDn9GdUeRENWMs6VPluevZEFqELBBz7cR0Iugl1 4rUf/1uvVSQpD98X2MD0mO8R8tZ4vtUVSmpPVrKAq+79cM0vjB9RlxjmZJiBx+GR 6B9sxbp7dy49T0eCUbk411LT5R9v4NkYeluaririQxP9UvSYswOrmhI3cMt8HPxA Yxna92UBWIyVuhVY6W9i =4DEZ -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |