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

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=pPkbmZR5vQmzOjA34knCmIB7Bii9gLh35AEDU2ZRtbbVTwJVLEjRN
xUrY+n4eTWtHddX+MBPqY7iz9aDZow4YH9oxtp2OOMmB81Dwk4oD0fqH1dYUZDPG
kYCFmEonK6m3fvmeaBnHA9+faMCgPvDiApZx5CbeaKQfGvWQ3vigoI=
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=Myr7BxIcQKNjYw5yxU19+3FI7Jk=; b=QXI+DIHLyS0VTNlZfxBDa3XSCIM7
CRce+tzl4jkg3/XuzXb8QcOTTIyrOmzOhZq+3xAJqsPMwW86mi82EBY6tvBqlOdP
udDuMclZjjFimSp+HVrr2tbjW4wj6snoEyvzck92uGelKe10sX4wEE+fjA+4aWYR
uX200lYes9JCWnE=
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: Sun, 12 Apr 2015 16:25:21 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [TESTERS needed] New POSIX permission handling
Message-ID: <20150412142521.GR7343@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20150410100703 DOT GA4401 AT calimero DOT vinschen DOT de> <1428772308972-117455 DOT post AT n5 DOT nabble DOT com> <20150412083532 DOT GM7343 AT calimero DOT vinschen DOT de> <1428844894032-117479 DOT post AT n5 DOT nabble DOT com>
MIME-Version: 1.0
In-Reply-To: <1428844894032-117479.post@n5.nabble.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

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

-----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--

- Raw text -


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