X-Recipient: archive-cygwin@delorie.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:from:to:subject:references:date:in-reply-to
	:message-id:mime-version:content-type; q=dns; s=default; b=uuUgU
	NKHmD0kyGfGYg23nUCVnmxHpD4dzHIPQez8gQeC/a0UBGqTZ7bk7RIX9qKLNuU5p
	jQbdU3/TR9GCQAHqeLnWUFe5ajT1Me3LB/5Ji8e0ag+hVegky4BV+NvS6VGbn2CA
	hUXi91ZJhVWwGi1g5zutIlLkoeGB4jtG1AanxE=
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:from:to:subject:references:date:in-reply-to
	:message-id:mime-version:content-type; s=default; bh=cWP5JVqfX0D
	yPDWTDnwC4gFboGs=; b=UBP7/WTDdC6r8QW1gtCVYhNqoQ6f1ngiddDGnEUIJLU
	N4hnTk9G8jabdU11Sd4OCjOj6UmSm/yxceAEFHPQnIOd64oLQbMT5AHsLPSomJOx
	v/CQyWoZmZRdWngeA/YMDIvu+NA8ahxDLm/76WktgmYplGroQiVqEYRqXd9sbTvQ
	=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-in-08.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-14.arcor-online.net 3msbDS009Mz90H2
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin@cygwin.com
Subject: Re: Shares with strange ACL settings
References: <loom.20150811T101658-176@post.gmane.org>	<20150812152601.GL13029@calimero.vinschen.de>	<loom.20150812T172703-7@post.gmane.org>	<20150812155817.GN13029@calimero.vinschen.de>
Date: Thu, 13 Aug 2015 19:56:07 +0200
In-Reply-To: <20150812155817.GN13029@calimero.vinschen.de> (Corinna Vinschen's	message of "Wed, 12 Aug 2015 17:58:17 +0200")
Message-ID: <87a8tvvzrc.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain

Corinna Vinschen writes:
> Cygwin is aware of them and access(2) explicitely checks for them.  That
> obviously doesn't help for applications like perl, who "know better"
> than the underlying OS how to evaluate perms.

Just for clarification, Perl doesn't "know better".  It's documented
that the file test operators only look at the mode bits and naver at the
ACL.  There's a pragma (use filetest qw/access/; # perldoc filetest)
that lets you use access for the tests instead, but it currently is an
unloved stepchild that doesn't let you use the stat cache (_) in tests
nor stacked file tests (-r -x), which use it.  The final nail in the
coffin is that with that pragma in effect you can only test filenames,
but not file handles.  So you really need to write your code from the
outset with that pragma in mind since it limits the use of test
operators so greatly.  At least they left the door open to a future
where the filetest pragma does something more sensible on systems that
rely to a larger extent on ACL.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

