delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/14/10:51:12

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=htF+ap48l9csse6JSGGZnaDtiYtZVveh7paYvWaMCv4LPsGPy1ueL
dFO36Hk4Z47Kne+mCgJVPtEJnSdCxPdFnt/b2Swd4w04Ko+4HQpAZPPycLH1jiV0
iGW/4Gmwov1NXcwLF9brD8K7lzMhBIbf+qyqurT19MXUDNho55ioOc=
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=Y/kfYWX/o2lNGMbcaZYfCXWDQW8=; b=GkclWFq925gc9Wvc9a1I71caFti/
Gn37ieaV7SuN/W/c6pjZoer1XtR1zs3x75CLfoJVNhPE9P1l0KZdhtz00KH+kidv
732IwP/2LYMMAcF9TpbixTe4W8RUtssaHG4pG+IchGJ27dRcPN7E+ugYRloCz0OQ
W7G1TCB7IgHwlhc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 16:50:52 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-3
Message-ID: <20150414145052.GF7343@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>
MIME-Version: 1.0
In-Reply-To: <0ff693d9c8109bdddf3d892d005678b7.squirrel@webmail.xs4all.nl>
User-Agent: Mutt/1.5.23 (2014-03-12)

--BYl/BInBdgsQr4gH
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Apr 14 16:18, Houder wrote:
> > On Apr 13 18:10, Houder wrote:
>=20
> >>  =3D Cygwin 2.0 -- logged on as user Test
> >>
> >> %% 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), ... follo=
wed 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
> >>
> >> %% 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.
>=20
> Now I am confused ...
>=20
> Permission denied above (logon as user Test) did NOT surprise me ... It w=
as
> the 'write denial' after that (logon as user Henri).

Yes.  That's what I explained.  The user Henri has only access to the
file via the permissions of None or Everyone.  Since the wrongly created
mask only allowed read permissions to group None, Henri has no write
perms.

> Btw, I installed update 4 to Cygwin 2.0 ... and observe no change in the =
output
> of getfacl, icacls ... also user Henri is still denied write access ...

Did you re-create the file?


Corinna

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

--BYl/BInBdgsQr4gH
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJVLSlMAAoJEPU2Bp2uRE+gKPcP/REszsbWuCzlzGg0H9Xz9WtU
ylR9rv/3mKSJHIGThia2W4EuLPq0nLw1oF2qv/Zy7wATvztGwvvV49Q7IbCKxy4C
VgsfrP2HhRbdgsXMQ5eaxi4p+VlFBCV5bm0u63CVwppJUNhRNQQZ3cETljOXgFx/
YLiZSJTIxbO/zLWytekpSKYWqioFa1QmtSMfJObsmSd/6SMWVwJf8KtcQXwXPDk9
lSrhcQ+r2WnITxQ7oTBS9ZPeZJAfATCsbDCt+jB/5BP68M/bcxzqbMef0eMJUI80
rxgAuK1WG1tGZGEWFlD1ScV5kqZ6gHL/KCdPdBj4vz2bUjEe/Cdg/jXnkxnmRAr+
jI7fCu2huhliX7Lc8eMrj4ocRZLM62NKKZEsLtMA+lbBIjbu/E0GclgKaVq252fk
If2Bf/f/ai5XesX8DxOB0o9aabP+zkJueFGvzEThdBiBtldccnj/Gf3PV3I6LZfg
oK37vmUxs8ax306WJkMHyukvnmg2bDF2GaFbxje2oNQMYPFGlqL9jHZWquYXwp8E
4QoEA/j2vvQ3/DnjNvFgTDgAIrFSVBPqWzV8AycvZGqJoWuDeweR9wfLVR7kM2T8
owefzdayyoUnC5ejrkDy+teos44TGl0y3WEcQ5uGAVEMRQhjztLrpQlS6KtZFYa8
C9N6m5UDcATzb9Wmvu5P
=pXb9
-----END PGP SIGNATURE-----

--BYl/BInBdgsQr4gH--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019