From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3131 invoked by alias); 14 Apr 2015 08:58:03 -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 3122 invoked by uid 89); 14 Apr 2015 08:58:03 -0000 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 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; Tue, 14 Apr 2015 08:58:02 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 42E8FA807D2; Tue, 14 Apr 2015 10:57:57 +0200 (CEST) Date: Tue, 14 Apr 2015 08:58:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-3 Message-ID: <20150414085757.GC7343@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <2bbd046b7e2ea40818416d8a6d3f15b8.squirrel@webmail.xs4all.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="s8ux8MQukyWAm3r7" Content-Disposition: inline In-Reply-To: <2bbd046b7e2ea40818416d8a6d3f15b8.squirrel@webmail.xs4all.nl> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-04/txt/msg00292.txt.bz2 --s8ux8MQukyWAm3r7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1943 On Apr 13 18:10, Houder wrote: > Hi Corinna, >=20 > Perhaps not relevant anymore (since you have returned to the drawing boar= d) ... >=20 > - after installing update 3 to Cygwin 2.0 ... > - created file while being logged on as user Test; subsequently executed= : chmod 460 file > - switched back to user Henri and attempted to touch file: failed > - however, using Cygwin 1.7, and repeating the same procedure, I am able= to touch the file (called file2) >=20 > Regards, >=20 > Henri >=20 > =3D Cygwin 2.0 -- logged on as user Test >=20 > %% uname -a > CYGWIN_NT-6.1-WOW Seven 2.0.0(0.287/5/3) 2015-04-12 21:09 i686 Cygwin > %% pwd > /home/Test > %% id > uid=3D197614(Test) gid=3D197121(None) groups=3D197121(None), ... followed= by irrelevant j. > 545(Users), 4(INTERACTIVE)66049(CONSOLE LOGON),11(Authenticated Users),15= (This Organization),113(Local > acount),4095(CurrentSession), > 66048(LOCAL),262154(NTLM Authentication),401408(Medim Mandatory Level) > %% touch file > %% chmod 460 file > %% echo aha > file > bash: file: Permission denied >=20 > %% getfacl file > # file: file > # owner: Test > # group: None > user::r-- > group::r-x > mask:rw- Huh? So it creates a mask even though it only contains standard POSIX permissions. This explains the "permission denied". The group r-x combined with a mask rw- results in effective r-- permissions for the group None. This yet again calls for adding the output of effective permissions to getacl. I think I fixed the thinko in the code. At one point I noticed that I mishandled the GROUP_OBJ permssions in new-style ACEs and my fix was apparently a bit too efficient :} I uploaded new snapshots to https://cygwin.com/snapshots/ and I'm just uploading a 2.0.0-0.4 release. Please give either of them a try. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --s8ux8MQukyWAm3r7 Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVLNaVAAoJEPU2Bp2uRE+gMwQQAKZRNd1cPeJOIULuRaW/woJB zot2B4u6fo9AcrLGkoWpKms1qrjpg8Yz6H+dU03gnQvKTAB7XKxkSa82iaOCMYAf /tRQbwanMvwDpDGi5M+vhU6xdFwxWgrfM3QZFxU4ycr09S/7A+7W7vX5xYM3fgTf RMAYJo1fxcAvU2nZ2N1/pOTm9yAzD/PdgF5EbyeUQTCv2DwbPXyYvDz1moJwE1Cq WNjDrOcvq3YRByBUjoTX4ZDCakzeeCtWE4xQLdmueoCjOqVQ+/bWIsikoZ4ADK9r Rn9nhdOlpRtmGO4V2BNzi9NLrxs5DZLhVKpPnhmg72Qa+JgZAGA6cLz34BxP62Ie Des5trJ+146Gj4WKh71UWmtyvjZeuqt7jMv6xoSsWVEXcIfF6qdu847f8UCUk93X IAUMNpWQxaFgXtwbCFM/z/ktOiZM2GkrMcADtj7nzXUXPKjpONj38hqYPDIJQZwE qyK1q9nqptYchZcCxNmQjeBA+RB3pznY7oWKadMBcvzc/6wFwiVHvbNjFCfc20Zh 8LCPyX6lt49yEr7YfFgYcH/POdc4i6NmHt3gvqX4g02ToV+weVsbukmHxniljt0Q psk8NCXnafK8/wuGrOMtHrr8cLcSBsMyz6uhIF3y3CgR4tQIgcpw+0D79KY6JjrU BAxOzFpHe/E6iTvpDhAR =BSNz -----END PGP SIGNATURE----- --s8ux8MQukyWAm3r7--