Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 2020 12:46:45 -0400
From:      Ryan Moeller <freqlabs@FreeBSD.org>
To:        freebsd-current@freebsd.org
Subject:   Re: `zfs list` permission denied
Message-ID:  <6403ab4c-47b2-5bd9-9187-d9c549ef2220@FreeBSD.org>
In-Reply-To: <20200910163333.erxycebv23gkqbkb@mutt-hbsd>
References:  <20200910163333.erxycebv23gkqbkb@mutt-hbsd>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6403ab4c-47b2-5bd9-9187-d9c549ef2220>