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=IC9BusKaEBvancxJPIoTlCnJ5tMATCvsjGRVEzjhdUkqVPkVPVJ/l I+aZPB42s/hbDU74LsjgETeMcIdfzddHThzTWPwa8cVkl5MQPPio9nlC/TtCttFX GyHXcawy8F4XM5fHpGIu+LpsdLqgjxkr2/NrsmL+QljkQkWcejej0Y= 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=t7tePF4S1OTKiIOaBVHkElh8C9k=; b=elO8aIKI3vh9yzYR4OBjPR40apgr wsR7h2d53DFmZ/buHguNzPWNqY+h5EJzurkzHGKihU+Hu85Q4zJ00ot61LJvR2sH B+L1LBN9auG1XvHirS1u93RbaE3w7z8ReGSpK6gITvSWr8LOSYdvp0GATVLqNJ9Q daYdVsQV+ai+kFs= 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: Fri, 17 Apr 2015 12:06:46 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [TESTERS needed] New POSIX permission handling Message-ID: <20150417100646.GR3657@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20150412083532 DOT GM7343 AT calimero DOT vinschen DOT de> <1428844894032-117479 DOT post AT n5 DOT nabble DOT com> <20150412142521 DOT GR7343 AT calimero DOT vinschen DOT de> <20150415154225 DOT GD7343 AT calimero DOT vinschen DOT de> <1429179605687-117615 DOT post AT n5 DOT nabble DOT com> <20150416110304 DOT GA26837 AT calimero DOT vinschen DOT de> <1429200569630-117621 DOT post AT n5 DOT nabble DOT com> <20150416162358 DOT GE3657 AT calimero DOT vinschen DOT de> <1429202882763-117627 DOT post AT n5 DOT nabble DOT com> <20150417073043 DOT GK3657 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OxDG9cJJSSQMUzGF" Content-Disposition: inline In-Reply-To: <20150417073043.GK3657@calimero.vinschen.de> User-Agent: Mutt/1.5.23 (2014-03-12) --OxDG9cJJSSQMUzGF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Apr 17 09:30, Corinna Vinschen wrote: > Hi Ismail, >=20 > 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: Perm= ission denied >=20 > This is really surprising. >=20 > > [~/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) >=20 > 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. >=20 > While looking into this I found some other problems in this owner=3D=3Dgr= oup > scenario, so I applied a few patches. I'm just creating new developer > snapshots and a 2.0.0-0.6 test release. >=20 > 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: >=20 > $ strace -o chmod.trace chmod +x config.status >=20 > 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. I think I found the culprit. I'll uploade a -0.7 test release in the next hour or so. Thanks for testing, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --OxDG9cJJSSQMUzGF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVMNs2AAoJEPU2Bp2uRE+gntkP+wUoo6x+1D8/cBvJEO8TQVge uVP1GPE1bRgDSBK/aYEtx0H6jpV70e41N0vlEjzCnKJ0MARJ1AuiVaUFsedYT87n S5tAfpHJoU72Ac+us2gpwKBsP1G6lEMMJDtOoThMA1C388uHAxD2bBY9iyfj2jxn yg/QuYLHKS5cSNLKwBlIxD+E5a7NiPHJvSKk2bfaE4eEAmvhyIueeb2s1/o8Ntzg 7UqJUvM35u00zG9vN04VOgqSECbtxwTZBIjXUPMVSA5seYfOlGUnP7aZDw5dfgtJ NBBgqhZvqz0DKaJoXTZvG5sA8XrEdKAMg2kzrpEq0kUO2HtUmb08DrWap1NoQIcl bdwl0xl6FpoITB7akgV0aKmCC2uBuv37dS5gXPypBgltVn9dFcIZdzOSAxfMj50y kBEKZ2QTF7xPTL2xE4l5+Q8uH6wPWJIEgbQLU+5oiWLv0r1j69LXnT4EcDqITH1G Oh2ImJK/0IENhYb08ZbOmnLSq5OEa/IjAJpvJspSzSF8TqaviQ/rPYFfkWAhJ3NS yX8aaDrFYkATcptEQw/s9EnznH6AZ2+cQL6VZzaPduL98zQ9Cn+144jxR8flwtiY QBaaIwdfBTiX5nuEvpQHk5E28abX0SHMEcnoUtpwdtMKFNvJA/oLm+BuD5zgv1OB 8I36IZKYHgROgAHjiKJP =rmsq -----END PGP SIGNATURE----- --OxDG9cJJSSQMUzGF--