grant beattie wrote:> is the usual ACL API expected to work with ZFS? the only related
> bug I could find is 4986179 (generalize acl(2) syscall to support zfs
> acl''s) which was fixed in s10_53. I''m running b35.
>
The acl(2) syscall has been extended to work with ZFS ACLs. The change was
the addition of the ACE_GETACLCNT, ACE_GETACL and ACE_SETACL cmds to the
syscall.
> getfacl(1) on ZFS reports:
>
> # getfacl file
> File system doesn''t support aclent_t style ACL''s.
> See acl(5) for more information on Solaris ACL support.
>
> I would like to use ZFS as the filesystem for a Samba server, and our
> environment requires ACL support. Samba with ACL support works fine on
> UFS but who uses UFS anymore? :)
>
> is it reasonable to expect that the interface is generalized enough
> that ACL-needy applications would continue to work unmodified with
> ZFS/NFSv4 ace_t style ACLs? or am I mistaken in this thinking?
>
> grant.
>
An application that is coded for just UFS ACLs will need to be modified
to handle either UFS or ZFS ACLs.
We have library functions acl_get()/acl_set() and others which will work
with both UFS and ZFS ACLs.