www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/28/09:33:23

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=LSIU0qOMaxsuRtgpDLW80wvy/UaF7VB0UCBEYpzoLtdxxgSxuJLkp
qA8wLgnx8FyZDJJ6biOGIfQm7bufGLX8xFmXorRAGWkwMqxhiV7153nSFyZ+zOB6
WE4gi4YyHFH9HN3W+JqO96AiU9rIN36MLdaRVeQXwMgKUJNMO/0WnI=
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=ErRjGpJgG5K0VTk3OvDocsXfs/U=; b=xtilvCR3z4UwLFhjEHw6y9suY3FN
Ig3SgmNGF0PLMBQ9fTevGvGrkbpO6F1+ka15+2WsnkwyWm9MmfZN8D3IIqSt5WKc
6mKeOG7RhHgI57DFV8cO8p8ih0gNTXPPrBH1jERXDYX1lxkEeut/ecpjYFjZ5qXv
Ui6FgnOSjWWfA2c=
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=-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
Date: Thu, 28 Jan 2016 15:33:02 +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: <20160128143302.GB27369@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> <20160127145314 DOT GE547 AT calimero DOT vinschen DOT de> <trinity-55056902-bdcc-4525-897a-716505b2f75b-1453940836750 AT 3capp-mailcom-lxa03> <20160128132310 DOT GA18626 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20160128132310.GA18626@calimero.vinschen.de>
User-Agent: Mutt/1.5.24 (2015-08-30)

--TakKZr9L6Hm6aLOc
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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"

-----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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019