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=qLFIMcAGHddrcO55fIEap3r2+dhK18elXEn8uVVYxh9sGbsuQbj5q +SM2UrHkGpK70X1bqn4XNQPWzxgQZLqZTQXkRC/UXIGNonEh2Ac4zIEl3uZTKcfy QUIurz9BGtKCnUzKtgvPbaoFLthRZYZQW0z1Z7bX0wQRK3kKvwWjn4= 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=YfIPOPl7L7NZ2DpOJlXFkwAWhBE=; b=vCgDJlfSpfRvMJ431zdrIrjomZhF /l7ukvN+UaiddTvM3zhr9n+A0TRbi2CBnRPCcZdjM3xd+FErtH2Hy1734FJxM00K oMwnx7HJjuDXo0kAz2oNCqiN6Slnk6M9YhqvB+HqSz13nAT6qoUInt/AM366RIFG Z1HcVu5oRjXjl+s= 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=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Date: Tue, 14 Apr 2015 17:12:55 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-3 Message-ID: <20150414151255.GM7343@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <2bbd046b7e2ea40818416d8a6d3f15b8 DOT squirrel AT webmail DOT xs4all DOT nl> <20150414085757 DOT GC7343 AT calimero DOT vinschen DOT de> <0ff693d9c8109bdddf3d892d005678b7 DOT squirrel AT webmail DOT xs4all DOT nl> <20150414145052 DOT GF7343 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+bs7B30DeWCM5QK8" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) --+bs7B30DeWCM5QK8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 ... >=20 > %% 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) =20 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? Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --+bs7B30DeWCM5QK8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVLS53AAoJEPU2Bp2uRE+gHsAQAJeb2rWRMvz5nfLAqrjBvDD4 TuBCvK1tr25Hkox5GEfZk83Ij9oLpZDjXo1po29y6uzIBWdrfjgaNeFT2VhN8VzD w+tbomittwmdXynOUllpTx3nlfn6O2lK5fPbIwnlwVDp2R8oy6kICtH1ae4Z3UcH UIEhj59IWvqS3VStcpES218H/KXX5K8fXmVltEjZicvLAXv3BgP6FBvYY0n93dn8 8EmrBGZSIM6rStRYOTxejul8Gpag9mIpJBKe+xdd6zDnDgYsyR5f9TCbIvq89VvW gNlhYZGRebMPo1kNU1YVFsjhZmdtPpFCxCoCPIu33EbuZViyKpR+2E5R5vQ0421+ QcE9vWtYUnHaS3JCtPk/W+O1y52uez7yII4e7HYl2y95HVu1iBfFw+xk8q4Nso2v VoUtQVYbbpQeo4+ch/oULb4GAJiyCjzbFCrcg2fxbTedkQClPqTzsdHkl6SwlRrt 50VnEBs6DUMvy1OFu/4h/u1Niiu7uB4O6PClMkoDO4R3fbD7XKbDlh2DaExlEWAJ mCtrHgk/ywhxKqPNWDuroHPm1EauCsNwYwolDZefr+wMJi3SV7ZmM/jjEaEzQYhf r4pSUD5BdRuSxn61fdSyTz++u1VRd7QpkxlIxALPUHqulokm5VoxVfRhzvzRVJ/O nPU5jZKGhBNGtEXqh4yV =VY4/ -----END PGP SIGNATURE----- --+bs7B30DeWCM5QK8--