Skip to content
maxximino edited this page Dec 24, 2011 · 15 revisions

EXPERIMENTAL BRANCH of Native ZFS for Linux with Posix ACL support
This is highly experimental and actually doesn’t even work.
If this eats your data or your cat, don’t blame me. I’ve warned you.

What should work:

  • Write ACLs on files (not directories)
  • Read them back.

Known issues:

  • Cannot write ACLs on directories because default and access ACLs are handled separately in Linux / Posix ACLs but they are written as an unique ACL in NFSv4-style.
    The code to read “the missing part” and merge them exists, but the code (from IllumOS) to translate from NFSv4 to Posix ACLs is very picky and it doesn’t convert ACLs created by ZFS on directory creation.

To-do list:

  • Enforcing ACLs.
  • Correct use of cached ACLs
  • Don’t collide with chmod.
  • Test, test, test, test

Credits:

  • ZFSonLinux (http://zfsonlinux.org/)
  • IllumOs project (Took their acl_common.* files from https://github.com/illumos/illumos-gate/tree/master/usr/src/common/acl)
Clone this wiki locally