From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103707 invoked by alias); 11 Apr 2015 10:23:07 -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 103696 invoked by uid 89); 11 Apr 2015 10:23:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.5 required=5.0 tests=AWL,BAYES_20,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; Sat, 11 Apr 2015 10:23:05 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 7D944A80BEF; Sat, 11 Apr 2015 12:23:03 +0200 (CEST) Date: Sat, 11 Apr 2015 10:23:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: [TESTERS needed] New POSIX permission handling Message-ID: <20150411102303.GG19111@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20150410100703.GA4401@calimero.vinschen.de> <20150411094020.GB19111@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KIzF6Cje4W/osXrF" Content-Disposition: inline In-Reply-To: <20150411094020.GB19111@calimero.vinschen.de> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-04/txt/msg00199.txt.bz2 --KIzF6Cje4W/osXrF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1971 On Apr 11 11:40, Corinna Vinschen wrote: > On Apr 10 19:00, Steven Penny wrote: > > On Fri, Apr 10, 2015 at 5:07 AM, Corinna Vinschen wrote: > > > Please give the new code a try. I uploaded new 2015-04-10 developer > > > snapshots to https://cygwin.com/snapshots/ > >=20 > > Here is the test I ran: > >=20 > > $ cd /cygdrive/c > >=20 > > $ touch ~/{alpha,bravo}.sh ~+/{charlie,delta}.sh > >=20 > > $ chmod +x ~/bravo.sh ~+/delta.sh > >=20 > > $ ls -l --color ~/{alpha,bravo}.sh ~+/{charlie,delta}.sh > > -rw-rw-r--+ 1 John None 0 Apr 10 16:51 /cygdrive/c/charlie.sh > > -rwxrwxr-x+ 1 John None 0 Apr 10 16:51 /cygdrive/c/delta.sh (gre= en) > > -rw-r--r-- 1 John None 0 Apr 10 16:51 /home/John/alpha.sh > > -rwxrwxr-x 1 John None 0 Apr 10 16:51 /home/John/bravo.sh (gre= en) > >=20 > > So "charlie.sh" looks strange because it has that extra write permissio= n. > > However this is not a big deal for me. My concern was that everything w= as > > showing up executable (green) when running "ls --color". So overall thi= s is an > > improvement, thanks. >=20 > What is '~+'? Is that some weird bash feature? >=20 > Did you check the ACL? The ACL before and after the change should > explain what happened. Oh, sorry, you're createsing new files, so there's no before/after. In that case the result in the group permission is based on the MASK value generated as a result of permission inhertance rules. So what you should check is the parent descriptor and look at the inheritable ACEs (default ACL entries in POSIX speak) and compare them with the permissions Xof the newly created files. > Check it with getfacl *and* icacls to get > an idea what it looks like, and compare the result with the POSIX > ACL rules, as outlined on, e.g., http://linux.die.net/man/5/acl. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --KIzF6Cje4W/osXrF Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVKPYHAAoJEPU2Bp2uRE+gS1AP/262JxnxlqPJ+saT6uLYtdeK lsI44pXGa+LuNBb2XWCLnRuhgssOSivZmdhmdiAT7KpM5YnbIXzBqpyl5P2Sy07N A+vs2RzSyIHAMrshAJ34CiDNS5b6Ku7ZogNAh9tP0xHkI6RwsD/F0Ev6FGvGBjQa ZYmgxDNh/ZmIIaybUVwY43V3GEElwItasUsGJMJWf1uUlAGd3XF2VpDGQVs8hRhd ZBnZG82cN9VT9y849fqpXedDA7gbQ93p7QPLWQ+tux9J1CBouCOkcvfb+b5VY9Nx FFX2ThH7LZKiNr9prh3X/pfPQ9X3PawnDsGNExMzW9GO9O20o5zhSruhyieIR1lW 6VFwBRMKlokKAFghg7I9CXLnjnSYltIDAMrK04W24BkpgP4QgsK8f9APBHF9qRUY CDu+xbV71lN/kKPy+VDrDfzWBKTuE19cq4Nn9RJifKJ35QXmKFOiivpyTSFEl5C9 FrNyXUM9Kt9UKA0LoEMo2Dq5wL45Hmwea+zpzInnGs1RwygtXL2+geb6/hPbxpjM t8pVGvVZGwpttvwIRGyn2SAhio5jno0I5Z0bQRdHH8MknpNX5RssRElyLdu6w0pd T0AnGGFT20IWPHEEo61j3U62QWsG1lyzozUW2OpzZc8rBll9/OZIuPKZJtxY3USK aIf8fEsb/q/mX9+RkXcu =tFWE -----END PGP SIGNATURE----- --KIzF6Cje4W/osXrF--