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: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 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=-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 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: (call-process ...) hangs in emacs References: <20140805184047 DOT GC13601 AT calimero DOT vinschen DOT de> <53E3685B DOT 8050508 AT cornell DOT edu> <53E39BAD DOT 3010004 AT redhat DOT com> <53E3CB46 DOT 1020909 AT cornell DOT edu> <53E3F2AE DOT 7030608 AT redhat DOT com> <53E4D01B DOT 9010005 AT cornell DOT edu> <53F1F154 DOT 1020702 AT cornell DOT edu> <53FB87DC DOT 2050908 AT cornell DOT edu> <87wq9v9j2y DOT fsf AT Rainer DOT invalid> <53FD0662 DOT 5050208 AT cornell DOT edu> <20140827084245 DOT GD20700 AT calimero DOT vinschen DOT de> <53FDD4A8 DOT 5050401 AT cornell DOT edu> In-Reply-To: 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 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--