Matthew Ahrens wrote:
On Mon, Jul 17, 2006 at 10:00:44AM -0700, Bart Smaalders wrote:
So as administrator what do I need to do to set
/export/home up for users to be able to create their own
snapshots, create dependent filesystems (but still mounted
underneath their /export/home/usrname)?
In other words, is there a way to specify the rights of the
owner of a filesystem rather than the individual - eg, delayed
evaluation of the owner?
I think you're asking for the -c "Creator" flag. This allows
permissions (eg, to take snapshots) to be granted to whoever creates the
filesystem. The above example shows how this might be done.
--matt
Actually, I think I mean owner.
I want root to create a new filesystem for a new user under
the /export/home filesystem, but then have that user get the
right privs via inheritance rather than requiring root to run
a set of zfs commands.
In that case, how should the system determine who the "owner" is? We
toyed with the idea of figuring out the user based on the last component
of the filesystem name, but that seemed too tricky, at least for the
first version.
FYI, here is how you can do it with an additional zfs command:
# zfs create tank/home/barts
# zfs allow barts create,snapshot,... tank/home/barts
--matt
Owner of the top level directory is the owner of the filesystem?
- Bart
--
Bart Smaalders Solaris Kernel Performance
[EMAIL PROTECTED] http://blogs.sun.com/barts
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss