From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103352 invoked by alias); 21 Apr 2016 07:16:08 -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 103291 invoked by uid 89); 21 Apr 2016 07:16:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=HX-Received:10.194.189.231, HX-Received:Thu, rights, accounts X-HELO: mail-wm0-f65.google.com Received: from mail-wm0-f65.google.com (HELO mail-wm0-f65.google.com) (74.125.82.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 21 Apr 2016 07:15:52 +0000 Received: by mail-wm0-f65.google.com with SMTP id l6so19193758wml.3 for ; Thu, 21 Apr 2016 00:15:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=ka1sc7p+rEfmB/3nOmufWBUUE10394LgHfin2XFBnJE=; b=YdQ+s819K7wFzAYrOBudF9NaQlmsiGUu9hZ5zNuqFORvJ2WS8Y3kzTRPumgTEV68AY EB1sRU+MiMhXjCgzs4ZTPmFxFH5SUeO4oZ0HRCR00r7t5Djzdhlez7mlZWuUlfKz9EGr 1fLECnYrB8wCg23IgbS8dIiVP54cRdTw93lLYR4B2WHqgB4/g7v5W+UF/BIu/wcjWn1B bF98EOMzbJ0ZtCK+KXJPNLJWfQMcaCaD29nILFFu/DPW4EgSLs6ITBUUccFaMK2hsFey PSWoJHn091y0ulkPWR495jeaF7leBfgitiv3VxPRP8Wf7AjrvzygjhLulisJFZiHEgLr O/pQ== X-Gm-Message-State: AOPr4FUJBXej9nNcpr3dSzscpAsWFPfxOg3032KhfH3IEa3sAlQ9QRRJUkJimOBo3eeadw== X-Received: by 10.194.189.231 with SMTP id gl7mr13374459wjc.129.1461222949090; Thu, 21 Apr 2016 00:15:49 -0700 (PDT) Received: from [192.168.44.44] (37-48-1-67.tmcz.cz. [37.48.1.67]) by smtp.gmail.com with ESMTPSA id gt7sm1317723wjc.1.2016.04.21.00.15.47 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 21 Apr 2016 00:15:48 -0700 (PDT) From: Tomas Jura Subject: Re: git clone fails with error chmod on config.lock failed: Invalid argument To: cygwin@cygwin.com 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> Message-ID: <57187E22.5070902@gmail.com> Date: Thu, 21 Apr 2016 07:29:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.2 MIME-Version: 1.0 In-Reply-To: <20160420142545.GB25668@calimero.vinschen.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2016-04/txt/msg00543.txt.bz2 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 Windows >>>> 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 should >>> 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-enum) > > 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 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 exists 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! 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. Tomas -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple