I must have been trying to hard or something. This is working like I need it to 
now. Of course I've been sick for the past week so that's my excuse. ;-)

Anyway...

# zfs create -o casesensitivity=mixed -o sharesmb=name=storage -o quota=275G 
tank/storage
# cd /tank/storage
# chgrp storage .
# chmod A=group@:rwxpdDaARWcCos:fd:allow .

When creating users, I leave them all in the same primary group (I'm using the 
default, other). Then I add users to secondary groups depending on what shares 
they need access to. Now when users create files via SMB, they are created as ->

----rwx---+  1 jdoe     other      13668 Mar 28 03:53 test.txt

Obviously this allows anybody rwx on that file or directory. Access permissions 
are determined by the share's directory ->

d---rwx---+  6 root     storage        8 Mar 29 01:35 .

I don't know why this was so difficult for me this morning. Like I said before 
though, I'm sick. That's my excuse. ;-)
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to