James Lever wrote:
Hi Darryn,

On 30/07/2009, at 6:33 PM, Darren J Moffat wrote:

That already works if you have the snapshot delegation as that user. It even works over NFS and CIFS.

Can you give us an example of how to correctly get this working?

On the host that has the ZFS datasets (ie the NFS/CIFS server) you need to give the user the delegation to create snapshots and to mount them:

# zfs allow -u james snapshot,mount,destroy tank/home/james

If you don't give the destroy delegation users won't be able to remove the snapshots the create.

Now on the client you should be able to:

cd .zfs/snapshot
mkdir newsnap

I've read through the manpage but have not managed to get the correct set of permissions for it to work as a normal user (so far).

What did you try ?
What release of OpenSolaris are you running ?

--
Darren J Moffat
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to