[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gnulib ACL wrappers
From: |
Paul Eggert |
Subject: |
Re: Gnulib ACL wrappers |
Date: |
Thu, 28 Aug 2014 11:33:01 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
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.