Jim Meyering <[EMAIL PROTECTED]> writes:

> FYI, cp in particular needs working ACL-detection support, too.
> The problem is when a Linux system mounts a ZFS file system.
> Then, there is no acl_trivial function, yet the number of
> ACL entries is 4, and the ACL *is* trivial.

Yes.  A related issue is porting GNU 'cp' to Solaris 10 ZFS-style ACLs.

These two issues are related.  On Solaris, a ZFS-based ACL setup can
be trivial even when there are more than 4 ACL entries.  I expect this
could cause trouble on the Linux-based client of that ZFS file system
as well.

For the 'ls' port to Solaris I didn't try to figure it all out; I just
delegated it to Solaris's acl_trivial function.  But to get things
working right on the Linux-based client I'd like to have a working
setup exhibiting the problem, which I do not have easy access to.

One step at a time, though; at least GNU 'ls' works on Solaris 10 with
that patch....

By the way, my initial impression is that ZFS-style ACLs are nicer.
For example, the shell-command interface seems nicer, with "chmod
A..." and "ls -v" rather than the "setfacl"/"getfacl" commands.  I
hope that GNU/Linux can incorporate these improvements at some point,
but it'll require kernel support.

One issue is "ls -v", of course: with GNU "ls" -v means something
different.  That's too bad....


Reply via email to