On 08/27/2014 07:47 AM, Corinna Vinschen wrote: >>> >>> Works for vim. Does the Emacs configure test only check for POSIX >>> ACL functions and not for Solaris ACL functions, by any chance? >> >> I spoke too soon. It does detect that Cygwin has certain ACL functions. >> But the feature that Achim was asking about seems to get used only on >> systems that have acl_get_file. I guess that's a POSIX ACL function. > > Yes, it is. It's pretty much the same as the Solaris/Cygwin function > > int acl (const char *path, int cmd, int nentries, aclent_t *aclbufp); > > See http://docs.oracle.com/cd/E23823_01/html/816-5167/acl-2.html for > a description. We're only supporting the aclent_t type (funny, isn't it?) > which is pretty much based on POSIX ACLs and which is defined in > /usr/include/cygwin/acl.h.
Hmm; isn't emacs using gnulib's acl wrappers? (Paul Eggert would know; he's the developer that's done the most recent work on Gnulib ACL support as well as on emacs). In that case, shouldn't the behavior be the same as for coreutils, which also uses gnulib? I'm wondering if there are any bugs in the gnulib acl wrappers which might affect more than just emacs, and/or where a cygwin patch would make the gnulib wrappers happier. Sadly, I'm also not the best expert on ACLs. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature