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:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=vW6HxdtK9jCNuApymL7iFtxMaNsDi56Bojr4UiVdFAjnIo4rJrrDz
	yaN4lUquZQRlv473PUUcCn6hiiIt5fIu62NUlidDyhSlQHVcIyRc9LgWUrBzzUNK
	sJ6EQQmcgIPqUicqz1XnnorFmurHpg/NTHLRpm2igbTzrDfRDV+Ccg=
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=PpNPz65f7Vsz5i+T0yg7vt/N9Eo=; b=v4zJNg87M49HRuRUFPSsBZbp009I
	YDjcDIzQUDt1HWyhb4JEFjV+t3xafLOYsXfe2gq6Y9cwJlr3w4Z0es5vGp2q7lfg
	bZiY/4HpgtnFPaGH0SThsJBiWyYjxF3w2JUWcFM+xHfMT+zUwLcUX15kc6YfwNUD
	I0Df/5J7B/EWdXM=
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=-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: Fri, 17 Apr 2015 09:30:43 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [TESTERS needed] New POSIX permission handling
Message-ID: <20150417073043.GK3657@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <1428772308972-117455.post@n5.nabble.com> <20150412083532.GM7343@calimero.vinschen.de> <1428844894032-117479.post@n5.nabble.com> <20150412142521.GR7343@calimero.vinschen.de> <20150415154225.GD7343@calimero.vinschen.de> <1429179605687-117615.post@n5.nabble.com> <20150416110304.GA26837@calimero.vinschen.de> <1429200569630-117621.post@n5.nabble.com> <20150416162358.GE3657@calimero.vinschen.de> <1429202882763-117627.post@n5.nabble.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="qD3brAgIG4LbUq6d"
Content-Disposition: inline
In-Reply-To: <1429202882763-117627.post@n5.nabble.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

Hi Ismail,

On Apr 16 09:48, Ismail Donmez wrote:
> Corinna Vinschen-2 wrote
> > On Apr 16 09:09, Ismail Donmez wrote:
> >> [~/src/mutt]> chmod +x config.status
> >> chmod: changing permissions of =E2=80=98config.status=E2=80=99: Permis=
sion denied

This is really surprising.

> [~/src/mutt]> icacls config.status
> config.status NULL SID:(DENY)(Rc,S,REA,X,DC)
>               UX31A\ismail:(F)
>               UX31A\ismail:(RX)
>               NT AUTHORITY\SYSTEM:(RX,W,DC)
>               BUILTIN\Administrators:(RX,W,DC)
>               Everyone:(RX)
>=20
> Successfully processed 1 files; Failed processing 0 files
>=20
> [~/src/mutt]> icacls .
> . NULL SID:(DENY)(Rc,S,REA,X,DC)
>   UX31A\ismail:(F)
>   UX31A\ismail:(RX)
>   NT AUTHORITY\SYSTEM:(RX,W,DC)
>   BUILTIN\Administrators:(RX,W,DC)
>   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)
>   NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(RX,W,DC)
>   BUILTIN\Administrators:(OI)(CI)(IO)(RX,W,DC)
>   Everyone:(OI)(CI)(IO)(RX)

I created the exact same scenario with the exact same ACLs, just with my
own account as user and group, and I can't reproduce a "Permission
denied".  chmod simply works for me.  Weird.

While looking into this I found some other problems in this owner=3D=3Dgroup
scenario, so I applied a few patches.  I'm just creating new developer
snapshots and a 2.0.0-0.6 test release.

It would be nice if you could update, test again, and if the problem
still occurs, I think I'll need an strace of the above chmod call as
in:

  $ strace -o chmod.trace chmod +x config.status

This combined with the icacls of the ACLs of config.status and the
parent dir, just to be sure the new Cygwin created the same ACLs.


Thanks in advance,
Corinna

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

--qD3brAgIG4LbUq6d
Content-Type: application/pgp-signature

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

iQIcBAEBAgAGBQJVMLajAAoJEPU2Bp2uRE+g4p4QAIfW2zVxGrQmgR3zT2q/lbWU
xy3nGM4pHbcuUf/1nF/UvnFSHvHJ3wJ73V3vn2wKiuQ8SYBi9Q3FhMZB+68T5SNO
AQRJ45rEXR0iECOpWkIvPkqW7r1TUIoSQ84q8RURoVy5qGjnVMuYbNtlU1/0LRBH
PWxz6qo7wI/dtzEOTZ3ZRPUebehk9Li9IkiTqtls+YdcJ7ogDLMutECxs+XEODP8
LS7aibk75wjCf7gzsv2pYHqmuLyBqsYsznPQkqcgdzioCI+MqAtexBRs6uI5j49y
tbcKQpdqQhhZ8nSqQ80wHnMpi+kNM7ImI5me88elgjcLkbULP/x3e4ZpmCUZj9qa
MXdkFBdJVvwjy7+eOnFyRJpYmal42BgvXPh5Ig5IOVxKOKVzQlArdnsldC4qfFxr
qcCrOvMxXrh2w6SOBFLq9MRlqDpGpjZODk85I+8r4OLI2YPXyatltsFv9zQ2U3+f
sbYTvhKfm2SDy2djH40wlklzX8VLVTrBv9htbzLuXnzu9q9n8a4pTcPB2foPu99P
oprsExT0kigAl2DjKauOUdFCgsER437e2y8FHRb8OsZFX3BuQNMRFVXWeH4GE06H
HE0oUlXfX2e5uQxfLh8y1RDhWcm3/ZQhDg5myzyUab1dYjKvfDTuHnjaTJw4rpKa
eIGZX05zPByk1ogdUlO3
=8qC8
-----END PGP SIGNATURE-----

--qD3brAgIG4LbUq6d--
