From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 39767 invoked by alias); 11 Apr 2015 09:40:25 -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 39742 invoked by uid 89); 11 Apr 2015 09:40:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00,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 09:40:23 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id B2464A80BEE; Sat, 11 Apr 2015 11:40:20 +0200 (CEST) Date: Sat, 11 Apr 2015 09:40:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: [TESTERS needed] New POSIX permission handling Message-ID: <20150411094020.GB19111@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20150410100703.GA4401@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="A6N2fC+uXW/VQSAv" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-04/txt/msg00193.txt.bz2 --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1469 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 (green) > -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 (green) >=20 > So "charlie.sh" looks strange because it has that extra write permission. > However this is not a big deal for me. My concern was that everything was > showing up executable (green) when running "ls --color". So overall this = is an > improvement, thanks. What is '~+'? Is that some weird bash feature? Did you check the ACL? The ACL before and after the change should explain what happened. 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 --A6N2fC+uXW/VQSAv Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVKOwEAAoJEPU2Bp2uRE+g7esP/0KlVmD5V/n778blthdSXQBd 03XWYKPt5kO86hK1mfPiLSPxRUXoF63DU3LNN023exIKdeJyCCTSLBNYthWjmwF9 337plsHkDS6gEmG5gNAs1ZVc2I9n4QfTW/pk/LnCQbU6biATZORtZjsqkjwjozJ6 kyvJh17c8+60Q6BVdvwIHRrFqE59vU+UUbjknYvGCn6xrZQjBE1Fbq3nTclAoL89 mSBNMqiYl8iQvPr5MY1reh+bD/dX93pPLhTiBoTNuK/xfifjSHM97l1JZZnfXzPh /aghWou/ZRAAMDPrwC/Ej0myZj/d/zhD2udw8PgJm53dN827LE6cozMQwNJLM3oM hjT0CjXbmwHuZ7wnHjszbTCvjDfTZFrUqJDETS7Y1GuBDKWoq7+qKwI0RC6e6ihr JRsZZvvrjUk4LdzZ2bNzPObIQ+hUdTQjHR5yIzrMv6XdVljIUTzSEF49MGlO6LYC r4NL5mVP+lpTsaBlP51ccYeGFaLbwFTNniI5w3TPjWE3LswD0r43tGHhfOtHH/9W 0FMrQMEgoab2TCnWe0PzWhBAJti4bRGICt9PUL5GgwRC7vgSvUYP0oeJUid5o9Ex Gdy2suaginkl8zeYZtjLOqo9cVAWSHxNE4D4f0ZDBjayz1aDmySGwtk/3JusSL+q r1cTbG/uLcNIH1indJOW =XlxZ -----END PGP SIGNATURE----- --A6N2fC+uXW/VQSAv--