From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124617 invoked by alias); 17 Apr 2015 07:30:51 -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 124603 invoked by uid 89); 17 Apr 2015 07:30:50 -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 07:30:49 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 85505A80551; Fri, 17 Apr 2015 09:30:43 +0200 (CEST) Date: Fri, 17 Apr 2015 07:30:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: [TESTERS needed] New POSIX permission handling Message-ID: <20150417073043.GK3657@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <1428772308972-117455.post@n5.nabble.com> <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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qD3brAgIG4LbUq6d" Content-Disposition: inline In-Reply-To: <1429202882763-117627.post@n5.nabble.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-04/txt/msg00384.txt.bz2 --qD3brAgIG4LbUq6d Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1936 Hi Ismail, 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: Permis= sion denied This is really surprising. > [~/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) 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. While looking into this I found some other problems in this owner=3D=3Dgroup scenario, so I applied a few patches. I'm just creating new developer snapshots and a 2.0.0-0.6 test release. 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: $ strace -o chmod.trace chmod +x config.status 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. Thanks in advance, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --qD3brAgIG4LbUq6d Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVMLajAAoJEPU2Bp2uRE+g4p4QAIfW2zVxGrQmgR3zT2q/lbWU xy3nGM4pHbcuUf/1nF/UvnFSHvHJ3wJ73V3vn2wKiuQ8SYBi9Q3FhMZB+68T5SNO AQRJ45rEXR0iECOpWkIvPkqW7r1TUIoSQ84q8RURoVy5qGjnVMuYbNtlU1/0LRBH PWxz6qo7wI/dtzEOTZ3ZRPUebehk9Li9IkiTqtls+YdcJ7ogDLMutECxs+XEODP8 LS7aibk75wjCf7gzsv2pYHqmuLyBqsYsznPQkqcgdzioCI+MqAtexBRs6uI5j49y tbcKQpdqQhhZ8nSqQ80wHnMpi+kNM7ImI5me88elgjcLkbULP/x3e4ZpmCUZj9qa MXdkFBdJVvwjy7+eOnFyRJpYmal42BgvXPh5Ig5IOVxKOKVzQlArdnsldC4qfFxr qcCrOvMxXrh2w6SOBFLq9MRlqDpGpjZODk85I+8r4OLI2YPXyatltsFv9zQ2U3+f sbYTvhKfm2SDy2djH40wlklzX8VLVTrBv9htbzLuXnzu9q9n8a4pTcPB2foPu99P oprsExT0kigAl2DjKauOUdFCgsER437e2y8FHRb8OsZFX3BuQNMRFVXWeH4GE06H HE0oUlXfX2e5uQxfLh8y1RDhWcm3/ZQhDg5myzyUab1dYjKvfDTuHnjaTJw4rpKa eIGZX05zPByk1ogdUlO3 =8qC8 -----END PGP SIGNATURE----- --qD3brAgIG4LbUq6d--