From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76742 invoked by alias); 28 Jan 2016 17:23:01 -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 75463 invoked by uid 89); 28 Jan 2016 17:23:00 -0000 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 Received: from ipbcc0d020.dynamic.kabel-deutschland.de (HELO calimero.vinschen.de) (188.192.208.32) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 28 Jan 2016 17:22:58 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 37D51A80389; Thu, 28 Jan 2016 18:22:56 +0100 (CET) Date: Thu, 28 Jan 2016 18:43:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Re: chmod failed: Invalid argument Message-ID: <20160128172256.GB18626@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20160128144429.GC27369@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="CdrF4e02JqNVZeln" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-SW-Source: 2016-01/txt/msg00430.txt.bz2 --CdrF4e02JqNVZeln Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2208 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 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" Content-length: 819 -----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--