From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 80081 invoked by alias); 21 Apr 2016 07:46:53 -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 80069 invoked by uid 89); 21 Apr 2016 07:46:52 -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,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=Trying, H*i:sk:57187E2, H*f:sk:57187E2, H*MI:sk:57187E2 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, 21 Apr 2016 07:46:42 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id B113BA805FA; Thu, 21 Apr 2016 09:46:39 +0200 (CEST) Date: Thu, 21 Apr 2016 07:49:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Cc: Tomas Jura Subject: Re: git clone fails with error chmod on config.lock failed: Invalid argument Message-ID: <20160421074639.GA18530@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com, Tomas Jura References: <20160128172322.GC18626@calimero.vinschen.de> <5715DCB9.7060401@gmail.com> <20160419081107.GC26794@calimero.vinschen.de> <57161490.1000301@gmail.com> <20160419133937.GF26794@calimero.vinschen.de> <57177EB4.6050902@gmail.com> <20160420142545.GB25668@calimero.vinschen.de> <57187E22.5070902@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="huq684BweRXVnRxX" Content-Disposition: inline In-Reply-To: <57187E22.5070902@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-SW-Source: 2016-04/txt/msg00545.txt.bz2 --huq684BweRXVnRxX Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2651 On Apr 21 09:15, Tomas Jura wrote: > On 04/20/2016 04:25 PM, Corinna Vinschen wrote: > >On Apr 20 15:05, Tomas Jura wrote: > >>On 04/19/2016 03:39 PM, Corinna Vinschen wrote: > >>>>BTW: My machine is Windows Server 2008, yesterday I also run the Wind= ows > >>>>update procedure before I notified the chmod error. > >>>>A months ago, I had to migrate to the new AD account. The cygwin was > >>>>installed using my old account, which is deleted now. Is it possible = that > >>>>the query to AD runs under my old account? > >>>That's a good question. The problem is that I can't see *why* the > >>>requests fail. This bugs me since failing LookupAccountSid calls shou= ld > >>>result in a debug message when running strace. > >>> > >>>Do you have changed your /etc/nsswitch.conf file by any chance? > >>No I did not. All lines are commented out there. > >> > >>>Would you mind to create strace output of the command `id'? > >>See attachment > >Thanks. It's not helpful, unfortunately. The only hint that something > >is going wrong is the same message as with chmod: > > > > internal_getlogin: group not found in group DB > > > >There's no other strace message even remotely related to account mapping. > >I don't grok that. There should really be some error message :( > > > >Btw., what's the output of `id'? > > > >I'm wondering... is it possible that LDAP access to your DCs is > >restricted? > > > >Also, can you change /etc/nsswitch.conf like this: > > > > db_enum: cache local primary > > > >(seehttps://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch-e= num) > > > >exit and restart your shell and call `getent group'? What does it > >print? Are the AD accounts enumerated and what info is printed for > >them? Examples are sufficent, I don't need your entire AD DB :) > > > >Also, what does `getent passwd $USER' print? > > > > > >Corinna > > > Hi >=20 > Trying to modify the /etc/nsswitch.conf , I found that I can't write it ! > The file is writable only by the user which created it and which not exis= ts > any more (see above my story). I changed owner and access rights for > /etc/nsswitch.conf and whole /var directory tree (also /var/cache). And > it's started working! >=20 > Then I removed the modifications of the /etc/nsswitch.conf (all lines > commented) and it works too. It seems that the problem is related to file > access rights to /var. Weird. Cygwin doesn't use /var by itself. Only applications do. But, anyway, I'm glad you could fix it. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --huq684BweRXVnRxX Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXGIVfAAoJEPU2Bp2uRE+gS/cP/RKytFO+4WzlNS5FPI3kRAoN yEF4ttk/RYmXlcv9nE7akVJNzH9IyClNU93jKcXfn6mw4MrYfVmdEJCBsFtXv07a wcPGUevCUNFkGcuj6ReCK0cEazy7HSGhfYZRjPTL+FKh7Whj4ZOw7cwC68fB6oDg TL1z42bFMxcqHW9g6xoflzuImO1tVrdpmc/e3KkZUFJ1OqTBBt+DiEm41Cxz1sfu RGDMWQQ/Qoz48ASxrqblw2RVqLzS/Unz9VYI/PZ6QUFlapyGrpnO2FpldkrlWoJY 7rZACD4FbmUk/XP//bIxBiBvw6TUUQ5vkdFVGbnJ3q4lC51dtw9iz1oIWhJnwmjB wyIVO+G13R4ZEHGKf1QGIjYtAKw6ZOXWGj6cB7yzFGlCwxgozsZU83gR10dhnnh2 AtjyTfAZFQ2wZb05mDgWGkSejXgjSD/6j/ZnmUFOAROhcQPqNzlfhg2Hw7Uj3Ugm ephv+3soC2nBVjZtCadl1FuJCC2+AokxD1sm+wDGcKvLiFRVrhBe5LnQzynbLJFm LbjnQ2A4xtq37HWbfA2nkoUSLmtI8Ivtyb0zPAedcxKA9b8UodDrk+cEdkAp14aF /9mll/G1mt63cjukH6KND00dyPbwa6ihPhKRBMxDaEXiNvh27m8Y5/ZRGw51o1gh +hkQp/xCtR7Ty35ERndu =4IsA -----END PGP SIGNATURE----- --huq684BweRXVnRxX--