[PATCH] Changes to zfs acl module

Rafal Szczesniak mimir at samba.org
Sun Sep 13 22:16:46 MDT 2009

I've made a few changes in vfs module handling zfs acls. The new code helps
to put acl entries in order acceptable for windows editor as it used to
complain about incorrect order and was trying to "fix" it. That's the other
half of the problem - in several cases that I've seen the "fix" has broken
the resulting zfs acl when writing it back to the filesystem, so that unix
permissions as calculated by zfs were completely broken (rendering NFSv3
access rights completely unusable).

The patch addresses the problem by ensuring correct acl displayed in windows
editor and correct acl saved to the filesystem. It is available in my private
repo git://git.samba.org/mimir/samba.git in branch v3-2-stable-zfsacl.
The actual diff is between commits e8be79de16329360b15827d3cbf65c09772a3788
and 5d03240fb884fb5f3b7168715d204a261816f2bb.

The original patch has been developed in 3.2 release but of course there's
no reason why it couldn't be ported to 3.3.

Rafal Szczesniak
Samba Team member   http://www.samba.org
Likewise Software   http://www.likewise.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20090914/88347d39/attachment.pgp>

More information about the samba-technical mailing list