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 | |
:mime-version:content-type:in-reply-to; q=dns; s=default; b=AGMN | |
PgB3NxF/491KlJnPvEiYWcBev4Gxtcsa2kkxjXcLKISfn/S5It5FGJnEOm4iOYlI | |
zUkf1Q8P/3MaflHcpowmHJNKGPrMgKXSmIErHDGYewZJ9/H9nOElD2fG4wqzBLit | |
abksTvzz/5O12Aj7zcKiiTYgWnxm6qaCIxXPdfo= | |
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 | |
:mime-version:content-type:in-reply-to; s=default; bh=5LtqotUQMU | |
+Zq0HmASlLn4rrkUc=; b=ybHDDAC/f5E3Y8euURiqTuAf4M8SlCsWfrM4HXtCoG | |
1gSGdNHFwYAHiLQmPx6dpIfVbrrVIlfodwA+1zm1Hu6PYq3Ov/Hnooud4kl7Pt7/ | |
dZ40JMG6hImQywiTKoeLZqtngqsGLxnPnX1EhzbBFEWee6+0Y/wNUnTxSoss9yl+ | |
M= | |
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=-92.4 required=5.0 tests=BAYES_50,FAKE_REPLY_C,KAM_LAZY_DOMAIN_SECURITY,KHOP_DYNAMIC,RCVD_IN_PBL,RDNS_DYNAMIC,USER_IN_WHITELIST autolearn=no version=3.3.2 spammy=sk:myusern, myusername, D*xyz.org, myhostname |
X-HELO: | calimero.vinschen.de |
Date: | Thu, 28 Jan 2016 15:31:40 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: chmod failed: Invalid argument [was: git clone fails with: error: chmod on config.lock failed: Invalid argument] |
Message-ID: | <20160128143140.GA27369@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
MIME-Version: | 1.0 |
In-Reply-To: | <20160128132310.GA18626@calimero.vinschen.de> |
User-Agent: | Mutt/1.5.24 (2015-08-30) |
--d6Gm4EdcadzBjdND Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Rainer, please make sure your mailer doesn't break threading. I tweaked the "In-Reply-To" now to return to the original thread on the mailing list. Thank you. On Jan 28 14:44, Rainer Blome wrote: > Christopher Cobb wrote on Thu, 28 Jan 2016 01:27:16 +0100: > > Or maybe chmod is broken, like it is on my machine > [...] > $ git init > error: chmod on /cygdrive/c/base/bar/.git/config.lock failed: Invalid arg= ument > error: chmod on /cygdrive/c/base/bar/.git/config.lock failed: Invalid arg= ument > error: chmod on /cygdrive/c/base/bar/.git/config.lock failed: Invalid arg= ument > error: chmod on /cygdrive/c/base/bar/.git/config.lock failed: Invalid arg= ument > Initialized empty Git repository in /cygdrive/c/base/bar/.git/ > ---- > The problem appears when Git tries to `chmod config.lock`. Sounds > like a mechanism to protect `.git/config`, so let's see what > happens if I try to use `git config` to modify that file: >=20 > ---- > git config user.email myusername AT xyz DOT org > error: chmod on /cygdrive/c/base/bar/.git/config.lock failed: Invalid arg= ument > ---- >=20 Can you please run the same again under strace, e.g., $ strace -o git.trace git config user.email myusername AT xyz DOT org and send the git.trace file? Also, please send the icacls output for the directory "bar" and the directory ".git". What's weird here is the EINVAL error. I can't reproduce this on my machine yet, but if I get more info I might be able to do so. > $ icacls . > . myhostname\myusername:(F) > myhostname\None:(RX) > Everyone:(RX) > myhostname\myusername:(I)(OI)(CI)(F) It's not a permission problem per se. There's no "Permission denied" message, just an "Invalid argument". I just fail to see why this happens... Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWqiZMAAoJEPU2Bp2uRE+gTSsQAKPEq+MJXD6CL86kKngTUHha +/BVK7AGrbHrvzQ2+hyKSF8w7FRohd1NShGY/G/4QiSebzA2wDEOub6GPAvxChGC oWN7DX+8MzonH5ow4aGH0LcXdJb7azI0YeXEl2mnU7uTE+fAlaMjoxl2x1CGitsW UJItn0AUxkCRBesZLCVInT8iER5LN/DkGzrUFO828puyO4qzZx04WmCAzqlCAer6 UBU31qg8KJCMIZbg2IOMXHH8baJmkzgPy+EN0q2C1xEX33yAy/iKLwzS4+/hQeDx RNcTQF1OI5yZfWINwJc7RQdnBWZWmSxBGUjYoxaWg7+pcED5MeiZLLTKH8Z77GRW zirqsdWXX+OyYp42ZDGX10FR1s4czlw1PzwUADI7MaylonrpcsRNRrInt1lVI/k6 f0sGlLmdyp8iQnFrNM134/QZimTvt9LDhe9s0bZMLlaXtAJvOALrYOC8S+8QY+2H JkqtOrBuvaVQSVfmsM6UqVOCEbtHxWX9g6NSyDlC0Et/zKhg6vlUsP7fNzIKUn4j zyNX17hC6GgubZp9ffduOTCiqVaEFjLG6T3AdBgUaTj2WFOMFkKpsiy4WCk1ghdB +MjD0JXP9sEabAHxJKcej2+vcdK/dFtjCAAobLeWbtSlKaUv/3mSEoCrXxq5r8B/ PysIDPumLPsZn76s9tql =vMJk -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |