Richard Catlin
2008-Nov-25 01:54 UTC
[zfs-discuss] New 2 ZFS: How assign user permission to read, write, execute a new filesys?
I am new to OpenSolaris and ZFS. I created a new filesystem under and existing filesystem for a user Exists: /rpool/export/home/user01 zfs create rpool/export/home/user01/fs1 As root, I can add a file to fs1, but as user01, I don''t have the permission. How do I give user01 permission? Can I limit this to only user01? Thanks. Richard -- This message posted from opensolaris.org
Tim
2008-Nov-25 02:11 UTC
[zfs-discuss] New 2 ZFS: How assign user permission to read, write, execute a new filesys?
On Mon, Nov 24, 2008 at 7:54 PM, Richard Catlin <richard.m.catlin at gmail.com>wrote:> I am new to OpenSolaris and ZFS. > > I created a new filesystem under and existing filesystem for a user > Exists: /rpool/export/home/user01 > zfs create rpool/export/home/user01/fs1 > > As root, I can add a file to fs1, but as user01, I don''t have the > permission. > > How do I give user01 permission? Can I limit this to only user01? > > Thanks. > Richard >Is this a user on the solaris system? If so, do: chown -R user01 /rpool/export/home/user01/fs1 chmod 700 -R /rpool/export/home/user01/fs1 This will give user01 full privileges for fs1, and no permissions for everyone else. You should really do some reading though, that''s unix101: http://www.perlfect.com/articles/chmod.shtml --Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20081124/9ee28af6/attachment.html>