www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/28/12:23:21

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:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=ZhHKTGE4HnTqjRgsIaN33li2DnSfeO8CEC5eMc7gZD3qAqUe1XE5J
D+1eeExyuHZ9JJYIQ+dDL6CS+B/D/f2UQYJRwqXQvQEEHh6WUnt6Eb3uFRii7K5C
c4yAwWlMv8CSH93dluf1ZlEC5qJWCZcwPvXKHPUjQs9RPXgbBjc2RU=
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:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=uKfw0agS4Eem4P4K/rb2wvGxIxc=; b=Hz7bS5TikPBpsUhmO+slpT2isSKy
famBI/JI7o8wzxT7GhHyHEmiRpuzWHpLy+Ko7+RH7IpMSqZ3yjOpAHb9miyqFw4b
faDIqaRuSNQ4ou8zaJuT350TlmQ0hOYx9STL2HZ4s69TiuLj11gPApBhZZ8KAhqV
O+8XXkboI4xVsAE=
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=-95.2 required=5.0 tests=BAYES_05,KAM_LAZY_DOMAIN_SECURITY,KHOP_DYNAMIC,RCVD_IN_PBL,RDNS_DYNAMIC,USER_IN_WHITELIST autolearn=no version=3.3.2 spammy=owning, H*r:sk:calimer, Hx-spam-relays-external:sk:calimer, HX-HELO:sk:calimer
X-HELO: calimero.vinschen.de
Date: Thu, 28 Jan 2016 18:22:56 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Re: chmod failed: Invalid argument
Message-ID: <20160128172256.GB18626@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <trinity-f5aca8d9-16f5-41e1-a521-60beada36d8e-1453991058087 AT 3capp-gmx-bs39> <20160128144429 DOT GC27369 AT calimero DOT vinschen DOT de> <trinity-1207f321-8a47-46bf-99f9-9c2eb5b08d91-1453997213459 AT 3capp-gmx-bs39>
MIME-Version: 1.0
In-Reply-To: <trinity-1207f321-8a47-46bf-99f9-9c2eb5b08d91-1453997213459@3capp-gmx-bs39>
User-Agent: Mutt/1.5.24 (2015-08-30)

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

On Jan 28 17:06, Rainer Blome wrote:
> > Corinna Vinschen wrote 2016-01-28 15-44:
> > On Jan 28 15:24, Rainer Blome wrote:
> >
> > The "In-Reply-To" is still missing in your mails, so you're invariably
> > breaking threading.  T'would be nice if you could make your mailer
> > behave :)
>=20
> This is the first time that I have a mail to reply to,
> hope the threading is preserved now.

Yes it is, thanks a lot!

> > the acl should always at least contain ACEs for the
> > default POSIX perms, plus a NULL ACE:
> >=20
> > foo NULL SID:(DENY)(Rc,S)
> >     VINSCHEN\corinna:(R,W,D,WDAC,WO)
> >     VINSCHEN\vinschen:(R)
> >     Everyone:(Rc,S,RA)
>=20
> In Windows Explorer -> `bar` -> RMB -> Properties -> Security ->
> Advanced, I am told that it inherits ist permissions from `base`,
> the parent of `bar`. (To be precise, it inherits from its
> grandparent, but I assume that the length of the ancestor chain is
> not important here.)

This means the permission have been inherited when creating the
file but Cygwin couldn't overwrite the ACL with a POSIXified variant
for one reason or another.  It might have to do with this mysterious
group 213...

> > For directories also inheritable default perms for "CREATOR OWNER" and
> > "CREATOR GROUP".  Is that really a Cygwin mkdir?!?
>=20
> As far as can see, yes, see above.
>=20
> > And then, what about
> > this unknwon group with gid 213?  What does
> >=20
> >   $ getent group 213
> >=20
> > print?  Something's weird here...
>=20
> getent group 213; echo $?
> 2

Ok, that's not exactly helpful to analyze this problem.  Can you try
running another strace

  strace -o getfacl.trace getfacl <file>

on a file which has supposedly that group as owning group, e.g.  your
"base" dir?  We might have a chance to look at the SID of group 213 in
there.

On a hunch, do you have old /etc/passwd and /etc/group files by any
chance?  Does moving them out of /etc (don't delete them for now!),
exiting from Cygwin and starting a new shell somehow fix things for you?
How do the files look like?


Thanks,
Corinna

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

--CdrF4e02JqNVZeln
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWqk5wAAoJEPU2Bp2uRE+giv4P/1bd7CGYmAyiCO8so21TIkH0
hIgvww1CbznGOQaR8zloci/rd/MyQ7reR/vFsQFmgxNbuY2O45CL7Zo2e3GzUrtx
w1xjOmRmR2h+/nCSvXhBDEpnt5nFC6jMD9kxE+dHJrHv/JwfgHlSfiASafXKh+YB
+ajWhVqMlvujgH7qtHjVY2m5nU2JnGPUiuga7tzb/JSe1Q3B92e1v0LBAfsAIaaK
7oqy/xzWkgle+ixp+HpEIpgGumBq+JyiamkgHyohaK1Zt7SDCktBB4SJUNMJqKLe
k40HWVNtg5imTAjieGeFC4LYH0Znrh7hQJg2ajhIo1Kh1npeIerWtllM60A1Usn2
WuEbErmpvlAGp1c3zj718x9TrRaiqtea30fa8SG7pQ9UVfDy0pCjEl2Q13BjfCJl
WFQhw/W6jRSRBa/6guM5kMsqzJQbTLmjMtmhc1mHLXttpHssRurGmaAuY1S9Br3q
5+DfY9U0oA1RwgQYVrxRmiiZOjrxBo/VIrpFeCRzYaKYPbUZFekYndDUVLgfW4IP
LV+jwelAr49OUTw/snrJw57lAlAQGbIt3re5wiruOiqXIEClQbruu7KmyXJJHfAm
P907Eds96bRXjW1ZlIEicqWX5vcTmNhd+BXb42all+dgGwl8F3Q2VAvkCwerfT5G
TrUi7MpcYqzS4x8IZyf1
=I0JZ
-----END PGP SIGNATURE-----

--CdrF4e02JqNVZeln--

- Raw text -


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