Date: Tue, 21 Jul 2015 11:10:11 +0200 From: Johan Hendriks <joh.hendriks@gmail.com> To: freebsd-stable@freebsd.org Subject: zfs allow and sharenfs Message-ID: <55AE0C73.6060705@gmail.com>
next in thread | raw e-mail | index | archive | help
Hello all. I try with the use of zfs allow to create zfs datasets and share them over NFS as a regular user. If I use the zfs create command with the user I get the following errer. # zfs create zroot/usr/home/test-allow cannot share 'zroot/usr/home/test-allow': share(1M) failed filesystem successfully created, but not shared. The dataset is created, but no entry is made in /etc/zfs/export It looks like it can not create the /etc/zfs/exports file and do the mountd restart. If I create the dataset as the root user it creates the dataset and it shares it over NFS, this works well I issued zfs allow username clone,create,destroy,mount,share,sharenfs zroot/usr/home Am I missing something, or is it not possible to do this as a normal user. regards
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55AE0C73.6060705>