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=Lfpo1FONLY2cml7wdCK5+FQI4casxn5Yd0g3Sj73ZtNxqXNsKeEcU DmmzjZAq8GGWiMjB5cwpXf9PihmGJb9tAOXrfuTuu0jTxImfJHVFUU7SHOtCqe5D tAjKpuA9iGV8qyprM9yOLQlpqKlo4HeDj8NdFMtHs87C/EAEPt48GY= 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=9Xyci8Mc4vuHItuIjHbponvcFIY=; b=Jwr5YJWFTGl5aFoyGMvMRmROYUX9 aJ+Sjr7ZwaH5+5vGHybFSIyyKamnXezUCpCHesGeNQ4vNt8hvk9v29pxNwEeUxlZ I05TlPfqudSGlRQCRQ0je2KNKAFu6TGwOv/NUocZMp/mufdqz0AodqmQhpUgI/nz QoTJYWbi4pwB23M= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-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 Date: Thu, 28 Jan 2016 14:23:10 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT 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 AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <56A8C67A DOT 6070101 AT cornell DOT edu> <20160127145314 DOT GE547 AT calimero DOT vinschen DOT 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) --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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" -----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--