From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23426 invoked by alias); 28 Aug 2014 10:34:46 -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 23412 invoked by uid 89); 28 Aug 2014 10:34:45 -0000 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 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 28 Aug 2014 10:34:44 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7SAYgDQ003907 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 28 Aug 2014 06:34:43 -0400 Received: from [10.3.113.127] (ovpn-113-127.phx2.redhat.com [10.3.113.127]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s7SAYgbt022491 for ; Thu, 28 Aug 2014 06:34:42 -0400 Message-ID: <53FF05C2.9030806@redhat.com> Date: Thu, 28 Aug 2014 10:34:00 -0000 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@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> 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 X-SW-Source: 2014-08/txt/msg00548.txt.bz2 --qo5Xe3q666QraOovI9xAxw30cHsLWilAB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-length: 1509 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" Content-length: 539 -----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--