I have a ZFS (e.g. tank/zone1/data) which is delegated to a zone as a dataset.

As root in the global zone, I can "zfs snapshot" and "zfs send" this ZFS:

zfs snapshot tank/zone1/data

and

zfs send tank/zone1/data

without any problem. When I "zfs allow" another user (e.g. amanda) with:

zfs allow -ldu amanda mount,create,rename,snapshot,destroy,send,receive

this user amanda CAN DO zfs snapshot and zfs send on ZFS filesystems in the 
global zone, but it can not do these commands for the delegated zone (whilst 
root can do it) and I get a permission denied. A truss shows me:

ioctl(3, ZFS_IOC_SNAPSHOT, 0x080469D0)          Err#1 EPERM [sys_mount]
fstat64(2, 0x08045BF0)                          = 0
cannot create snapshot 'tank/zone1/d...@test'write(2, " c a n n o t   c r e a 
t".., 53) = 53

Which setting am I missing to allow to do this for user amanda?

Anyone experiencing the same?

Regards,

Marcel
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to