Date: Fri, 21 Dec 2007 10:27:36 +0800 (CST) From: Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw> To: "Ralf S. Engelschall" <rse@FreeBSD.org> Cc: freebsd-current@freebsd.org Subject: Re: "zfs list" as non-privileged user? Message-ID: <0712211026546.7829@www.mmlab.cse.yzu.edu.tw> In-Reply-To: <20071220183502.GA26520@engelschall.com> References: <20071220183502.GA26520@engelschall.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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? > This for instance prevents non-privileged users to run my snapshot(8) > frontend (see http://people.freebsd.org/~rse/snapshot/)... > > | rse$ snapshot list > | Filesystem User User% Snap Snap% Snapshot > | rse$ _ > > ...although there are actually snapshots (this time run as root): > > | root# snapshot list > | Filesystem User User% Snap Snap% Snapshot > | /j/tot 1GB 17.1% 3MB 0.0% hourly.2 > | /j/tot 1GB 17.1% 1024KB 0.0% hourly.1 > | /j/tot 1GB 17.1% 1024KB 0.0% hourly.0 > | /j/en 2GB 27.1% 2MB 0.0% hourly.2 > | /j/en 2GB 27.1% 2MB 0.0% hourly.1 > | /j/en 2GB 27.1% 2MB 0.0% hourly.0 > | root# _ -- Cheers, Tai-hwa Liang
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0712211026546.7829>