public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Cc: Tomas Jura <tomas.jura1@gmail.com>
Subject: Re: git clone fails with error chmod on config.lock failed: Invalid argument
Date: Tue, 19 Apr 2016 14:04:00 -0000	[thread overview]
Message-ID: <20160419133937.GF26794@calimero.vinschen.de> (raw)
In-Reply-To: <57161490.1000301@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1751 bytes --]

On Apr 19 13:20, Tomas Jura wrote:
> Hi
> 
> My passwd and groups files got automatically renamed. I can't identify the
> exact date. Last update of cygwin I did yesterday, but the rename could
> happen a long time ago.
> 
> >pwd
> /etc
> > ls  passwd* groups*
> passwd.backup groups.backup
> 
> > groups
> groups: cannot find name for group ID 10749228312
> 10749228312 ZTB+Group(513) Administrators Users ..... ZTB+Group(1298252)...
> 
> ZTB is my AD domain. Seems that any of the groups that I have assigned on
> the domain level was not resolved.

Yeah.  Group 513 on the AD level is the group "Domain Users" which should
always exist.  It looks like all LookupAccountSid requests to your primary
machine domain fail for some reason.

> In the old groups.backup there is a record:
> None:S-1-5-21-4091695911-3229423371-1046061999-513:513:

This is group 513 of the local SAM.  This is not related.

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

Would you mind to create strace output of the command `id'?


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-04-19 13:39 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-27 16:34 git clone fails with: error: " Rainer Blome
2016-01-27 18:33 ` Ken Brown
2016-01-27 18:39   ` Corinna Vinschen
2016-01-28  6:35     ` Christopher Cobb
2016-01-28 14:31       ` Corinna Vinschen
2016-01-28 15:52         ` chmod failed: Invalid argument [was: git clone fails with: error: chmod on config.lock failed: Invalid argument] Corinna Vinschen
2016-01-28 16:06         ` git clone fails with: error: chmod on config.lock failed: Invalid argument Corinna Vinschen
2016-01-28 17:23           ` Aw: " Rainer Blome
2016-01-28 18:56             ` Corinna Vinschen
2016-04-19  7:22               ` git clone fails with error " Tomas Jura
2016-04-19  7:57                 ` Tomas Jura
2016-04-19  8:11                 ` Corinna Vinschen
2016-04-19 13:30                   ` Tomas Jura
2016-04-19 14:04                     ` Corinna Vinschen [this message]
2016-04-20 14:06                       ` Tomas Jura
2016-04-20 14:29                         ` Corinna Vinschen
2016-04-21  7:29                           ` Tomas Jura
2016-04-21  7:49                             ` Corinna Vinschen
2016-01-28 14:33       ` git clone fails with: error: " Andrey Repin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160419133937.GF26794@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    --cc=tomas.jura1@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).