[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: add limited support for Solaris 10 ZFS-style ACLs to gnulib
From: |
Paul Eggert |
Subject: |
Re: add limited support for Solaris 10 ZFS-style ACLs to gnulib |
Date: |
Mon, 19 Mar 2007 22:36:36 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Jim Meyering <address@hidden> 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....