From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 77855 invoked by alias); 28 Jan 2016 14:33:05 -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 77844 invoked by uid 89); 28 Jan 2016 14:33:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-95.2 required=5.0 tests=BAYES_05,KAM_LAZY_DOMAIN_SECURITY,KHOP_DYNAMIC,RCVD_IN_PBL,RDNS_DYNAMIC,USER_IN_WHITELIST autolearn=no version=3.3.2 spammy=top-post, toppost, strace, Hx-languages-length:1888 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 14:33:04 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 46778A80389; Thu, 28 Jan 2016 15:33:02 +0100 (CET) Date: Thu, 28 Jan 2016 16:06: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: <20160128143302.GB27369@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <56A8C67A.6070101@cornell.edu> <20160127145314.GE547@calimero.vinschen.de> <20160128132310.GA18626@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="TakKZr9L6Hm6aLOc" Content-Disposition: inline In-Reply-To: <20160128132310.GA18626@calimero.vinschen.de> User-Agent: Mutt/1.5.24 (2015-08-30) X-SW-Source: 2016-01/txt/msg00422.txt.bz2 --TakKZr9L6Hm6aLOc Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1888 On Jan 28 14:23, Corinna Vinschen wrote: > Please don't top-post. Thank you. >=20 > 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 expect= ed. > > > > > > > > > > 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: Inva= lid 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 >=20 > Can you please send the icacls output of the current directory and > the icacls out for the file x? Also, an strace of chmod, e.g. $ strace -o chmod.strace chmod 777 x might be helpful. Please send the file chmod.strace with your reply. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --TakKZr9L6Hm6aLOc Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWqiaeAAoJEPU2Bp2uRE+gbaQQAInzlrIbY8FNHjNVNg5Qhja7 VVrVK1Y3jPGiGGXovMZGmCRmI+PCnt9BUfOC9r+v60EwaQ3CH5Vy++w0aUxbvhvL DRtWPpgBxaqpmMCNrr6f2zaiV7+dcch4gOkUypodLlE+Ww6YlrZD9vkGkeg6bJZR AwdBdp9cioLnQRjMHhoZlC2U/BEdoAGWX6X6+//L82QERVxZorjijD3+s6tJ2NJi 5p39nFDyDQf8/cE/O+Y6qGoztvfkio+2s17ob+f9+Y4J8MJ6SaNTAFuRZRchVeEO fkRS6fsyxla2s2e4jCurFYaceNdv2qrf77mMSxD+G8BEMWTGsccle/5ZI2CRRz9e rXyYWS8Ok7pHkAhUAwUkokxeXjgfp1CGJVvi5hb5VBLN+lc6wcnNDDUBsakIGae9 cWpWBfoElUDxN3yeNjjtCyZ+sH10Qi9V+01+KU+599O6bdZURkXBWQu/K0HMTm1+ Q5SYZWClZURbuvb2Mn9OTysCObwKPXHSyRGuP4BfjU0saky1cCOuaCjORE87Z5EW oJiogv9V26xu12khwHcY+uWKPSLvP86qFglaiCXZQ/iqlMUb9ZWRm9Klpj5RLPPH d32m1wuxuf4kK9JsHyx22BfbLROmFNc15XYcf7SBxbgqlSbR0+wXhXBzcitQuCts HEroOzVKieF7LGYUSRiQ =RpIw -----END PGP SIGNATURE----- --TakKZr9L6Hm6aLOc--