From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10122 invoked by alias); 17 Apr 2015 10:06:50 -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 10109 invoked by uid 89); 17 Apr 2015 10:06:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 17 Apr 2015 10:06:48 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 57EE6A80551; Fri, 17 Apr 2015 12:06:46 +0200 (CEST) Date: Fri, 17 Apr 2015 10:06:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: [TESTERS needed] New POSIX permission handling Message-ID: <20150417100646.GR3657@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20150412083532.GM7343@calimero.vinschen.de> <1428844894032-117479.post@n5.nabble.com> <20150412142521.GR7343@calimero.vinschen.de> <20150415154225.GD7343@calimero.vinschen.de> <1429179605687-117615.post@n5.nabble.com> <20150416110304.GA26837@calimero.vinschen.de> <1429200569630-117621.post@n5.nabble.com> <20150416162358.GE3657@calimero.vinschen.de> <1429202882763-117627.post@n5.nabble.com> <20150417073043.GK3657@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OxDG9cJJSSQMUzGF" Content-Disposition: inline In-Reply-To: <20150417073043.GK3657@calimero.vinschen.de> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-04/txt/msg00389.txt.bz2 --OxDG9cJJSSQMUzGF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2184 On Apr 17 09:30, Corinna Vinschen wrote: > Hi Ismail, >=20 > On Apr 16 09:48, Ismail Donmez wrote: > > Corinna Vinschen-2 wrote > > > On Apr 16 09:09, Ismail Donmez wrote: > > >> [~/src/mutt]> chmod +x config.status > > >> chmod: changing permissions of =E2=80=98config.status=E2=80=99: Perm= ission denied >=20 > This is really surprising. >=20 > > [~/src/mutt]> icacls config.status > > config.status NULL SID:(DENY)(Rc,S,REA,X,DC) > > UX31A\ismail:(F) > > UX31A\ismail:(RX) > > NT AUTHORITY\SYSTEM:(RX,W,DC) > > BUILTIN\Administrators:(RX,W,DC) > > Everyone:(RX) > >=20 > > Successfully processed 1 files; Failed processing 0 files > >=20 > > [~/src/mutt]> icacls . > > . NULL SID:(DENY)(Rc,S,REA,X,DC) > > UX31A\ismail:(F) > > UX31A\ismail:(RX) > > NT AUTHORITY\SYSTEM:(RX,W,DC) > > BUILTIN\Administrators:(RX,W,DC) > > Everyone:(RX) > > NULL SID:(OI)(CI)(IO)(DENY)(Rc,S,REA,X,DC) > > CREATOR OWNER:(OI)(CI)(IO)(F) > > CREATOR GROUP:(OI)(CI)(IO)(RX) > > NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(RX,W,DC) > > BUILTIN\Administrators:(OI)(CI)(IO)(RX,W,DC) > > Everyone:(OI)(CI)(IO)(RX) >=20 > I created the exact same scenario with the exact same ACLs, just with my > own account as user and group, and I can't reproduce a "Permission > denied". chmod simply works for me. Weird. >=20 > While looking into this I found some other problems in this owner=3D=3Dgr= oup > scenario, so I applied a few patches. I'm just creating new developer > snapshots and a 2.0.0-0.6 test release. >=20 > It would be nice if you could update, test again, and if the problem > still occurs, I think I'll need an strace of the above chmod call as > in: >=20 > $ strace -o chmod.trace chmod +x config.status >=20 > This combined with the icacls of the ACLs of config.status and the > parent dir, just to be sure the new Cygwin created the same ACLs. I think I found the culprit. I'll uploade a -0.7 test release in the next hour or so. Thanks for testing, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --OxDG9cJJSSQMUzGF Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVMNs2AAoJEPU2Bp2uRE+gntkP+wUoo6x+1D8/cBvJEO8TQVge uVP1GPE1bRgDSBK/aYEtx0H6jpV70e41N0vlEjzCnKJ0MARJ1AuiVaUFsedYT87n S5tAfpHJoU72Ac+us2gpwKBsP1G6lEMMJDtOoThMA1C388uHAxD2bBY9iyfj2jxn yg/QuYLHKS5cSNLKwBlIxD+E5a7NiPHJvSKk2bfaE4eEAmvhyIueeb2s1/o8Ntzg 7UqJUvM35u00zG9vN04VOgqSECbtxwTZBIjXUPMVSA5seYfOlGUnP7aZDw5dfgtJ NBBgqhZvqz0DKaJoXTZvG5sA8XrEdKAMg2kzrpEq0kUO2HtUmb08DrWap1NoQIcl bdwl0xl6FpoITB7akgV0aKmCC2uBuv37dS5gXPypBgltVn9dFcIZdzOSAxfMj50y kBEKZ2QTF7xPTL2xE4l5+Q8uH6wPWJIEgbQLU+5oiWLv0r1j69LXnT4EcDqITH1G Oh2ImJK/0IENhYb08ZbOmnLSq5OEa/IjAJpvJspSzSF8TqaviQ/rPYFfkWAhJ3NS yX8aaDrFYkATcptEQw/s9EnznH6AZ2+cQL6VZzaPduL98zQ9Cn+144jxR8flwtiY QBaaIwdfBTiX5nuEvpQHk5E28abX0SHMEcnoUtpwdtMKFNvJA/oLm+BuD5zgv1OB 8I36IZKYHgROgAHjiKJP =rmsq -----END PGP SIGNATURE----- --OxDG9cJJSSQMUzGF--