Re: `zfs list` permission denied

From: Ryan Moeller <freqlabs_at_FreeBSD.org>
Date: Thu, 10 Sep 2020 12:46:45 -0400
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
Received on Thu Sep 10 2020 - 14:46:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:25 UTC