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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type; q=dns; s=default; b=SvernH
	FhkZnuHxCAsgu+UGFDnDa/nKtHRUzowPXjkObPFBk8HZJ5ho30raF2G2tviNyz6H
	JAj0ciImfUBvuXeziQEpTW2hcyk/PPxL8Oigk+yQ2QwvHEAqsLn3NoiRufp6Og7J
	skdcozONpOEaU3eU9b7EuzyNi8O63h9dEPjxU=
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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type; s=default; bh=X5MXMToPX2A3
	v/qOyzOVa7bOKwo=; b=i8Sd6xrfTNBmB+YHiZ0IhKk9Efzk3hflEUIjyKgwHyHT
	3gQXjX3TTjqyyHFvvc41soV2hPiELhBwYExi7iyDm1rRxJNZAqI2yveBFpPfywGV
	vgBmuTZksBhjfmG8MgMZR3IXv+jHzXRU8JEtDdc7C7PsAN77kYpUIVXLx7bbKeY=
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=-2.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2
X-HELO: mx1.redhat.com
Message-ID: <53FF05C2.9030806@redhat.com>
Date: Thu, 28 Aug 2014 04:34:42 -0600
From: Eric Blake <eblake@redhat.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: (call-process ...) hangs in emacs
References: <20140805184047.GC13601@calimero.vinschen.de> <53E3685B.8050508@cornell.edu> <53E39BAD.3010004@redhat.com> <53E3CB46.1020909@cornell.edu> <53E3F2AE.7030608@redhat.com> <53E4D01B.9010005@cornell.edu> <53F1F154.1020702@cornell.edu> <53FB87DC.2050908@cornell.edu> <87wq9v9j2y.fsf@Rainer.invalid> <53FD0662.5050208@cornell.edu> <20140827084245.GD20700@calimero.vinschen.de> <53FDD4A8.5050401@cornell.edu> <loom.20140827T170804-533@post.gmane.org>
In-Reply-To: <loom.20140827T170804-533@post.gmane.org>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qo5Xe3q666QraOovI9xAxw30cHsLWilAB"
X-IsSubscribed: yes

--qo5Xe3q666QraOovI9xAxw30cHsLWilAB
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 08/27/2014 09:15 AM, Achim Gratz wrote:
> Ken Brown <kbrown <at> cornell.edu> writes:
>> Achim, could you send me a recipe for reproducing the problem so that I=
=20
>> can test further?  Please be very detailed; I have no experience with AC=
Ls.
>=20
> Let's get one issue out of the way first that may be a Cygwin bug: on Lin=
ux
> a file with all access removed via standard POSIX modes and then access
> granted via ACL would place the mask bits of the ACL (the maximum permiss=
ion
> that can be granted via ACL, usually rwx) into the group portion of the
> POSIX modes (ls --color would even show these in different color if you
> didn't happen to notice the "+").  That doesn't happen on Cygwin and it
> seems that some software optimizes based on that information to not trave=
rse
> the ACL when there's no chance to ever get a permission granted.  This
> behaviour is mandated by POSIX IIUC (and it is what Linux is doing) so
> unless Cygwin explicitly follows a different ACL model, I think that shou=
ld
> be taken care of before diving into this further.

Sadly, POSIX doesn't mandate ACLs (in part because there are so many
differing implementations that it was impossible to standardize a common
ground).  So code using ACLs across multiple platforms has to deal with
quirks, and although gnulib attempts to do so, it may be a shortcoming
in the gnulib wrappers that emacs is using.

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--qo5Xe3q666QraOovI9xAxw30cHsLWilAB
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg

iQEcBAEBCAAGBQJT/wXCAAoJEKeha0olJ0NqikwH/068N6AcVjkCvPkgf9OmuVUV
+2/qBQarpKYceVcKYz+mVP8RJo+p0V3QoaUAZGp1WRfLk4mP5mmkBuJR89hlqgaR
Oi/lV40x8esXRkQerB+BSibh+Rz+SEx2kmhDahvmQSowaMZ8OdsDifndA7qdDVYr
l1WZP92sXZ+Cnd2HQAlTJkwt1ImrQ5W4IBmstbX/6Sa6qn/EPRnxAZkOHVvbeQH6
S7o1g4tBCNg5YOj5x99gUi0S9O7idDHGST+v8DCyM6+mo+zzOr4cfFSBWQBdglcW
hhihpdCDFFMANWfvE12nmT/lKZoxzN2omN01w9vFZz5xVKcUJOKLNCpCrEJCBhw=
=dzVc
-----END PGP SIGNATURE-----

--qo5Xe3q666QraOovI9xAxw30cHsLWilAB--
