X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=a5QAJ0R7bVBGMXW/CldwMQhqlb+01uxKz30uykxbL3V+Yr9+bJHPb mqde+MsgPwOg0svnY4s2oDaX0DpAIoQYoQpwREHHxIMbKwmZYqbSqf4Eo3O/EVTP YFT4iwtGX1+9dWkd4YOvB73w5lZzsRTuQ/Ea0zlcWFkjFio3/xbEpc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=J8y/gMnyJbzl+qELQrU4MWfHX4Q=; b=Igc0cytMUDYowU9UsKOO18bC9Iot HkeZsiyrucb1p0QhFszRlqm+Yuy96CBjijIC6RQJxRTF7s/Plg4B2PwNl8FZbfJo nR9BLw1/0EyWR/MKx+J+NsBX33yfjJ1yw187qFv1FUSOHcMC8xKK88GSWXOabGCf ETJa6GcM/9VcrfY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Date: Sat, 11 Apr 2015 11:40:20 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [TESTERS needed] New POSIX permission handling Message-ID: <20150411094020.GB19111@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20150410100703 DOT GA4401 AT calimero DOT vinschen DOT 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) --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 -----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--