How can I use ACLs on a ZFS filesystem under Debian/kFreeBSD?
uname -a
GNU/kFreeBSD foo1 8.2-1-amd64 #0 Thu Oct 27 20:48:27 UTC 2011 x86_64 amd64 Intel(R) Xeon(R) CPU X3220 @ 2.40GHz GNU/kFreeBSD
I tried setfacl:
setfacl -m user:root:rwx /Storage/TestFile1
and it returns:
setfacl: /Storage/TestFile1: Function not implemented
I would like to use it as a fileserver, with samba.
ZFS on Debian/kFreeBSD is still experimental and I guess ACL's are not (yet?) working.
Anyway, ZFS on this OS means you run a file system ported from another platform (Solaris) and put in a kernel that is then working in an alien runtime environment (Debian) considered experimental. Doesn't sound like a good idea for a server.
I don't know about debian's userspace (which I presume uses the GNU utilities), but according to this guide it looks like ZFS ACL's are supposed to be set with
chmod
and read withls -v
:The info page for GNU chmod says that filesystem-specific attributes are normally set with a different command and suggests
chflags
orchattr
, andls -v
is to "sort by version".