Date: Fri, 21 Dec 2007 08:33:06 +0100 From: "Ralf S. Engelschall" <rse+freebsd-current@FreeBSD.org> To: Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw> Cc: freebsd-current@freebsd.org, "Ralf S. Engelschall" <rse@FreeBSD.org> Subject: Re: "zfs list" as non-privileged user? Message-ID: <20071221073306.GA80957@engelschall.com> In-Reply-To: <0712211026546.7829@www.mmlab.cse.yzu.edu.tw> References: <20071220183502.GA26520@engelschall.com> <0712211026546.7829@www.mmlab.cse.yzu.edu.tw>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 21, 2007, Tai-hwa Liang wrote: > On Thu, 20 Dec 2007, Ralf S. Engelschall wrote: >> I recognize that under FreeBSD 7 a simple "zfs list" as non-root just >> results in: >> >> | rse$ zfs list >> | internal error: failed to initialize ZFS library >> | rse$ _ >> >> Is this really intentional or just a bug? > > Is this non-root user in 'operator' group? No, it isn't. According to the /dev/zfs permissions I guess it is intended to be. But I nevertheless find it strange that even a simple "zfs list" requires operator privileges. As I said, this at least prevents people from checking the existance of snapshots on the filesystems their home directory resides on, etc. -- rse@FreeBSD.org Ralf S. Engelschall FreeBSD.org/~rse rse@engelschall.com FreeBSD committer www.engelschall.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071221073306.GA80957>