From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 108030 invoked by alias); 28 Jan 2016 13:23:14 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 108018 invoked by uid 89); 28 Jan 2016 13:23:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-96.6 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,KHOP_DYNAMIC,RCVD_IN_PBL,RDNS_DYNAMIC,USER_IN_WHITELIST autolearn=no version=3.3.2 spammy=Cobb, cobb, H*r:sk:calimer, Hx-spam-relays-external:sk:calimer X-HELO: calimero.vinschen.de Received: from ipbcc0d020.dynamic.kabel-deutschland.de (HELO calimero.vinschen.de) (188.192.208.32) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 28 Jan 2016 13:23:13 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id B7298A8049B; Thu, 28 Jan 2016 14:23:10 +0100 (CET) Date: Thu, 28 Jan 2016 14:31:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: git clone fails with: error: chmod on config.lock failed: Invalid argument Message-ID: <20160128132310.GA18626@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <56A8C67A.6070101@cornell.edu> <20160127145314.GE547@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-SW-Source: 2016-01/txt/msg00417.txt.bz2 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1616 Please don't top-post. Thank you. On Jan 28 01:27, Christopher Cobb wrote: > > From: "Corinna Vinschen" > > 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: Invali= d argument > > > >[...] > > >=20 > > > There might be a problem with the default ACL on the directory > > > /cygdrive/c/base. What does 'getfacl /cygdrive/c/base' show? > >=20 > > 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. > >=20 > Or maybe chmod is broken, like it is on my machine: >=20 > $ touch x > $ chmod 777 x > chmod: changing permissions of =E2=80=98x=E2=80=99: Invalid argument Can you please send the icacls output of the current directory and the icacls out for the file x? Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWqhY+AAoJEPU2Bp2uRE+gFWgP/0Kd0OsA2Ohn2hsaMT5trFDm iSpj33rNcXeK5GhKUwoJmMDUpTrapn8nGGTpqys9ohx8FqXTIEchxMGacODu3Yed nVjI2WtsUIaANjKI0+qfR2ytKBXEsfazEffZa5xbCuSHES0b50rpLK95RnC1tSSj C90OlpN3gNzWpJIKeAOE5pk4MimBnx6yog9glUtr/3cxf5WI1LPR+a2UMG31r057 PYr7zY6ZDS4iqdPKZXnwNDO5Nw6vGnhDr6DiiL/xbBqW+L+exF0IT7XJsLn36pSJ 2KgscjDTt5RSLhSVQM4ErMe/Pj9UuU3/uLcdzjxPWngv0pQWwlx4Hg4M24BQzsNX cC1djsMjfVzz0DlwjFfq7rVzXWaKcDhGYUv22pJ3RgqulqkYzlgaKiB9zST8Ua8b yzAW7YPXlsgkCbOsIrwXAXCug8N6oESIG/fBgv9ehADXqQkZ3e5rSgdrKXFZEzhK H02AyAsQUn9bWt3r7xDx4UGBoDDIKTnwWPzVS/TvcQWmkKBiPQODUSgvEnd8ZaaH 1dR7pn0H4RXX1UN6uSkmpwQEN8wA6UUFVEcYVUz7aC0tzTeHtg6g+hCp1ZaVeQdl PrTnSQZTL83mfKiQMG6RlTTvpMeZV/146WQLJou3a/MF1iRq7UrMH+i6BOzBdE6E x407DudxfX+eYoAtd1oO =j+OH -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO--