[Bug 232021] zfs cannot mount 'dataset': Insufficient privileges

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 11 Apr 2025 11:46:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232021

--- Comment #19 from Julien Cigar <julien@perdition.city> ---
(In reply to Kurt Jaeger from comment #18)

zsync% sysctl security.jail.mount_zfs_allowed
security.jail.mount_zfs_allowed: 1


.. but it's clearly indicated in the manpage that only privileged users are
allowed to mount and unmount the ZFS dataset:

     allow.mount.zfs
             privileged users inside the jail will be able to mount and
             unmount the ZFS file system.  This permission is effective only
             together with allow.mount and only when enforce_statfs is set to
             a value lower than 2.  See zfs(8) for information on how to
             configure the ZFS filesystem to operate from within a jail.

-- 
You are receiving this mail because:
You are the assignee for the bug.