I’m trying to allow user foo
to run zfs create -o mountpoint=none tank/foo-space/test
.
tank/foo-space
exists and i allowed create
using zfs allow -u foo create tank/foo-space
.
I’ve checked delegated permissions using zfs allow tank/foo-space
.
However, running above zfs create
command fails with permission denied. BUT if i allow create
on tank
, it works! (zfs allow -u foo create tank
).
Can someone explain this to me? Also, how can i fix this and prevent foo
from creating datasets like tank/outside-foo-space
?
I’m running ZFS on Ubuntu:
# zfs --version
zfs-2.2.2-0ubuntu9.1
zfs-kmod-2.2.2-0ubuntu9
(Crossposted on Reddit here https://www.reddit.com/r/zfs/comments/1k7412a/permission_delegation_doesnt_appear_to_work_on/ )