delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/21/03:47:09

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:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=CIyKfzUpm4uycYV1W/50JZrldyYizMYcLGI75lEv6bpKyM46SxCn7
5buIi23JI+4qEBthN/5tEEQFKLxecncovdPjq0Al6zOv++BeTaDRZ2UJDFpG81UD
tFOZPj09CXjQzrrJIzAHbRzHbkW0BABJnOfZF6l4gOEPDaK4db2+d0=
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:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=CuDrg+sppqexFQHL2FPtgUCoMHk=; b=MA2d96Beez7rAy8wRnBN/BTqkHeE
0fmy0kA/3wRf4dHEAYfWfrhTRXsx8gC/DIo7ggCj+2sRPz7WMWrsTHLaqqJN7xvo
FQXZf2WtY5ZTEsoPCxHEz8nT06kJsHRQVJwFQJAJEsFfG413ycMGndnpKvDzHl6p
ggsHBBfNvW1Rutg=
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=-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
Date: Thu, 21 Apr 2016 09:46:39 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Cc: Tomas Jura <tomas DOT jura1 AT gmail DOT com>
Subject: Re: git clone fails with error chmod on config.lock failed: Invalid argument
Message-ID: <20160421074639.GA18530@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, Tomas Jura <tomas DOT jura1 AT gmail DOT com>
References: <20160128172322 DOT GC18626 AT calimero DOT vinschen DOT de> <5715DCB9 DOT 7060401 AT gmail DOT com> <20160419081107 DOT GC26794 AT calimero DOT vinschen DOT de> <57161490 DOT 1000301 AT gmail DOT com> <20160419133937 DOT GF26794 AT calimero DOT vinschen DOT de> <57177EB4 DOT 6050902 AT gmail DOT com> <20160420142545 DOT GB25668 AT calimero DOT vinschen DOT de> <57187E22 DOT 5070902 AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <57187E22.5070902@gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)

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

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"

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

- Raw text -


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