`zfs list` permission denied

Ryan Moeller freqlabs at FreeBSD.org
Thu Sep 10 16:46:46 UTC 2020


On 9/10/20 12:33 PM, Shawn Webb wrote:
> I used to be able to run `zfs list` as an unprivileged user. Now I
> can't, even when my user is in the operator group.
>
> ==== BEGIN LOG ====
> hbsd-current-01[shawn]:/home/shawn $ zfs list
> Operation not permitted
> hbsd-current-01[shawn]:/home/shawn (1) $ id
> uid=1001(shawn) gid=1001(shawn) groups=1001(shawn),0(wheel),5(operator)
> hbsd-current-01[shawn]:/home/shawn $ ls -l /dev/zfs
> crw-rw-rw-  1 root  operator  0x52 Sep 10 10:43 /dev/zfs
> ==== END LOG ====
>
> Thanks,
>
You probably don't have the zfs module loaded. The commands will try to 
load it if it isn't, and that will fail if you aren't root.


-Ryan



More information about the freebsd-current mailing list