From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115978 invoked by alias); 12 Apr 2015 14:25:25 -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 115970 invoked by uid 89); 12 Apr 2015 14:25:24 -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; Sun, 12 Apr 2015 14:25:23 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 5DB9CA8043F; Sun, 12 Apr 2015 16:25:21 +0200 (CEST) Date: Sun, 12 Apr 2015 14:25:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: [TESTERS needed] New POSIX permission handling Message-ID: <20150412142521.GR7343@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20150410100703.GA4401@calimero.vinschen.de> <1428772308972-117455.post@n5.nabble.com> <20150412083532.GM7343@calimero.vinschen.de> <1428844894032-117479.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/d7X7C0hV/blnKmH" Content-Disposition: inline In-Reply-To: <1428844894032-117479.post@n5.nabble.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-04/txt/msg00244.txt.bz2 --/d7X7C0hV/blnKmH Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1973 On Apr 12 06:21, =C4=B0smail D=C3=B6nmez wrote: > Hi, >=20 >=20 > Corinna Vinschen-2 wrote > > On Apr 11 10:11, donmez wrote: > >> Hi, > >>=20 > >>=20 > >> Corinna Vinschen-2 wrote > >> > Hi folks, > >> >=20 > >> >=20 > >> > I just applied a patch I'm working on for quite some time now. As I > >> > outlined before on this list, the POSIX permission handling has aged > >> > considerably and, for historical reasons, did things differently > >> > dependent on the calling function. I took the time to reimplement t= he > >> > core functionality to handle all ACLs as strictly following POSIX ACL > >> > rules as possible. > >>=20 > >> I tested the updated package and at least quilt and mutt seems to brok= en > >> by > >> the permission changes: > >>=20 > >> [~]> quilt new foo > >> cat: /tmp/quilt.mwTVWM: Permission denied > >> Patch patches/foo is now on top > >>=20 > >> And running mutt results in: > >>=20 > >> "Error creating temporary file /tmp/mutt-...." > >>=20 > >> Rolling back to an older snapshot fixes the problem. > >=20 > > Thanks, but...=20 > >=20 > > No offense, but this is not overly helpful. The problem is to learn > > *why* this happens and how to fix it. For that I'd need to know what > > your permissions on /tmp look like (ls -l, getfacl, icacls). Creating > > files in my /tmp (having an old-style ACL) with the following > > permissions works as desired for me: >=20 > Hopefully this will shed some more light: It does, thank you. The problem is the dreaded "owner =3D=3D group" problem introduced with these weird Microsoft accounts. I completely forgot about this while implementing the new code. It's pretty tricky to get the Windows ACL right for this. Additionally the ACLs already created by setup are... borderline correct only. Back to the drawing board... Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --/d7X7C0hV/blnKmH Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVKoBRAAoJEPU2Bp2uRE+gclsP/RgdWwEAb0UqMgUER0ziXjY1 jf5TABGg4jDN9yPezdwNFjlzxNmhQaHjnBa/pNBv65xPlha36v9X+cN8ykZaBMh0 zrCNYcgwtIYNreJ+GuGUupKiJyYOGuaq+xYDcasc2ihwrOYKo+H2NKgWXeFiBd2c W3OB6krSs8tVrY2i+pH3bdE93V5JWVhZWOO0lRDS/sOp4TUhoSOJD7Y+id/skk+p zpb4hGCpm7pogx+iW+E/68DvFNVLOPwmgHJuyxlcDsjGfk32nPWaTj63NRKK8r2S B7U2/CLOIJKzInDWzW+hHVUgpqsKa2VsKh4yfSDrNsT+AOYzN8OzMk9QW6oQMMIA YzJMHn+SlSTlBvPZEwsHcVz1DFutxXsFC/P8GHwS8B0PWjKBosNiysaD4jrjjJxR dIg/162ctgnxrScwJZg5bjxk1lO6Fg9Q2bp28UMmA4t9oRsmT1LRZehMCufLnb+O oNPU3tOME02MK715STb8p0wsJPHB4g57vpHA5RNZEWPBX9UsWGIAT1w9qtxsF/n7 RMCmSXIb05PXhvvj/RjXVxNqKwQTT1hgPkCxq12Cn9BXPcQnutr4qx0h2pyJi/ok /rxxIcioSBHAvS5a43LbS2ibMvYz3khY3y05PhecCthfferujOmPmgUjRqNID9st bJSVUEBkXUMpln4ebtOX =pQ+d -----END PGP SIGNATURE----- --/d7X7C0hV/blnKmH--