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:from:subject:to:references:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=s6cI0DHXNNcpLkMH afUnVR7So59iEwu5E/a5h0F9XJ3xYJ9lMWfpYF72Crsm/zaLQxozCjLsD3I40gNG AvykC0L8+IVtCfKgbYMy3lD7ywZtKH0M5+DK1rixhRZJxdfCZe7DILSubWZnOeJc WKqig9FowQCfyxvRd7w9BCJp9kY= 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:from:subject:to:references:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=ZNC23zOsFwmaQ5iBvdE9+G jjsZc=; b=gPlCfQS6axSExvyV2xi6+0aEeDePU76qfBoMdGRjrl8noBt37SRrm+ PYJsKY9ObgR0+Sd2oa4niQf7gSOanlIVD42j8GXs8lMFpdYG6ptXa5VXTHfL7jUj kc7h5F8XbLLwQfB5+KJBgjl28d8vha4kN1W5NG0X8jEQCNf4/zopc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-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 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) From: Tomas Jura Subject: Re: git clone fails with error chmod on config.lock failed: Invalid argument To: cygwin AT cygwin 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> Message-ID: <57187E22.5070902@gmail.com> Date: Thu, 21 Apr 2016 09:15:46 +0200 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 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