Accessing ZFS snapshots over SMB

David Disseldorp ddiss at suse.de
Tue Dec 5 22:20:09 UTC 2017


On Tue, 5 Dec 2017 10:28:09 +0100, Ralph Böhme via samba-technical wrote:

> smb: \> ls .zfs/*
> NT_STATUS_NOT_SUPPORTED listing \.zfs\*
> 
> This happens because the acl() library call fails with ENOTSUP on the snapshot
> directories. This could be easily fixed by synthesizing an ACL based on the
> POSIX mode, much like the getfacl() command on FreeBSD does. The attached WIP
> patch implements this.
> 
> Question: do we want this?

Given that it's self-contained within the zfs module, I don't have
problem with it. Please add a comment in the fallback path explaining
why it's done, and then feel free to push with:
Reviewed-by: David Disseldorp <ddiss at suse.de>

Cheers, David



More information about the samba-technical mailing list