Ken Brown wrote:
Or am I misunderstanding something?
Sorry, I don't know; again, I don't use Cygwin and so can be only of
limited help debugging it. For what it's worth, on Solaris 11 an Emacs
trunk configure says this:
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking for library containing acl_get_file... no
checking for facl... yes
checking for library containing acl_trivial... -lsec
checking for acl_trivial... yes
and 'truss' says that (copy-file "/etc/passwd" "~/passwd" nil nil nil t)
executed the following system calls:
facl(9, ACE_GETACLCNT, 0, 0x00000000) = 3
facl(9, ACE_GETACL, 3, 0x087BA410) = 3
facl(9, GETACLCNT, 0, 0x00000000) Err#89 ENOSYS
facl(10, ACE_SETACL, 3, 0x087BA410) = 0
fchmod(10, 0644) = 0
which seems to indicate that the ACL stuff is working on Solaris, at
least to some extent. Perhaps you can look at the corresponding output
on Cygwin and see where things are going wrong there.