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:message-id:in-reply-to:references:date:subject
	:from:to:mime-version:content-type:content-transfer-encoding; q=
	dns; s=default; b=uw70lLIxmvGEE5l1CFynmTpsXvG4zjCLsJ1XwRd/Jm3hoX
	kubHD9FH5wZZ+CdklwZD1VvKCeKdg45xmuuBQp0LJLnS7d8c68Y0jSqW9fGbaAlh
	4X39WZ0bsGG71HYFARRnDzdbk3FpoRNPg6ytF7t5skCPDA+6NIuY3NPNG2hjY=
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:message-id:in-reply-to:references:date:subject
	:from:to:mime-version:content-type:content-transfer-encoding; s=
	default; bh=tCECw+AUNxFMjOWAUQ6tE+Ue0RE=; b=gazJnjCjbTWLdd784ms1
	a3ZdP9pPlyn/fYu2Px3V13BOJnWU/IHA+bgGOzS/vzJLXFV3SLZ/bmt7kx6DgMNK
	qAzjLd0rFw3vUAhRqrEI8Cg28TrQOiJ70aG3nOld1d8U5f3GvvwVkJQup7CeuXkJ
	7gNGNTlBGb+CFBO4hu7FOoc=
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=0.9 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2
X-HELO: lb2-smtp-cloud6.xs4all.net
Message-ID: <b3fe246a234bd7f6ee6c9b0ea088abe0.squirrel@webmail.xs4all.nl>
In-Reply-To: <20150414151255.GM7343@calimero.vinschen.de>
References: <2bbd046b7e2ea40818416d8a6d3f15b8.squirrel@webmail.xs4all.nl>    <20150414085757.GC7343@calimero.vinschen.de>    <0ff693d9c8109bdddf3d892d005678b7.squirrel@webmail.xs4all.nl>    <20150414145052.GF7343@calimero.vinschen.de>    <b962c3b9b72680589885fce04084640e.squirrel@webmail.xs4all.nl>    <20150414151255.GM7343@calimero.vinschen.de>
Date: Tue, 14 Apr 2015 17:26:21 +0200
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-3
From: "Houder" <houder@xs4all.nl>
To: cygwin@cygwin.com
User-Agent: SquirrelMail/1.4.22
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

> On Apr 14 17:01, Houder wrote:
>> %% uname -a
>> CYGWIN_NT-6.1-WOW Seven 2.0.0(0.287/5/3) 2015-04-14 10:45 i686 Cygwin
>> %% pwd
>> /home/Test
>> %% touch alfa
>> %% chmod 460 alfa
>> %% echo aha > alfa
>> bash: alfa: Permission denied           # no problem here ...
>>
>> %% getfacl alfa
>> # file: alfa
>> # owner: Test
>> # group: None
>> user::r--
>> group::r-x
>> mask:rw-
>> other:---
>> %% icacls alfa
>> alfa NULL SID:(DENY)(Rc,S,WEA,X,DC)
>>      Seven\Test:(DENY)(S,WD,AD,WEA,DC)
>>      Seven\Test:(R,D,WDAC,WO,WA)
>>      Seven\None:(DENY)(S,X)
>>      Seven\None:(RX)
>>      Everyone:(Rc,S,RA)
>>      Successfully processed 1 files; Failed processing 0 files
>> %%
>
> This looks exactly like the ACL created by -0.3.  It produces this MASK
> value.  The rest is just the logical consequence.  But it doesn't do
> that for me:
>
>   $ uname -a
>   CYGWIN_NT-6.3 vmbert8164 2.0.0(0.287/5/3) 2015-04-14 10:47 x86_64 Cygwin
>   $ touch alfa
>   $ getfacl alfa
>   # file: alfa
>   # owner: corinna
>   # group: vinschen
>   user::rw-
>   group::r--
>   other:r--
>
>   $ chmod 460 alfa
>   $ getfacl alfa
>   # file: alfa
>   # owner: corinna
>   # group: vinschen
>   user::r--
>   group::rw-
>   other:---
>
>   $ icacls alfa | cat
>   alfa NULL SID:(DENY)(Rc,S)
>        VINSCHEN\corinna:(DENY)(S,WD,AD,WEA,DC)
>        VINSCHEN\corinna:(R,D,WDAC,WO,WA)
>        VINSCHEN\vinschen:(R,W)
>        Everyone:(Rc,S,RA)
>
> The only reason I can think of is that the parent dir has default
> permissions which imply the mask value already.  So, what does
> `icacls . | cat' in this directory print?

%% icacls . | cat
. NULL SID:(DENY)(Rc,S,REA,X,DC)
  Seven\Test:(F)
  Seven\None:(RX)
  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)
  Everyone:(OI)(CI)(IO)(RX)

Successfully processed 1 files; Failed processing 0 files

>
> Corinna
>
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Maintainer                 cygwin AT cygwin DOT com
> Red Hat
>



--
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

