Chris,
I have been using CIFS in a windows/OpenSolaris environment and I have
done the following:
1) Set up ZFS correctly:
# zfs set sharesmb=on rpool/export/home/myuser
# zfs set nbmand=on rpool/export/home/myuser
# zfs set aclinherit=passthrough-x rpool/export/home/myuser
# zfs set aclmode=passthrough rpool/export/home/myuser
2) My default ACL's
# chown myuser:mygroup /export/home/myuser
# chmod u=rwx,g=rx,o=x /export/home/myuser
3) Make sure owner,group,everyone are inherited (avoids --------)
# chmod A1=owner@:rwxp---A-W-Co-:fd-----:allow /export/home/myuser
# chmod A3=group@:r-x-----------:fd-----:allow /export/home/myuser
# chmod A5=everyone@:--x---a-R-c--s:fd-----:allow /export/home/myuser
4) Add the users permssions
# chmod "A+group:mygroup:r-x-----------:fd-----:allow"
/export/home/wstudent
# chmod "A+user:myuser:rwxpdDaARWcCos:fd-----:allow" /export/home/user
Chapter 8 Using ACLs and Attributes to Protect ZFS Files :
http://docs.sun.com/app/docs/doc/817-2271/ftyxi?l=en&a=view
This seems to be working for me......
Andrew
Chris wrote:
I have a slight feeling that I'm misunderstanding how CIFS works however I'm
now stuck with trying to find a solution to this problem.
When copying files to a CIFS share running on Opensolaris how do you set the
default unix file creation permissions for those files in the unix side file
system?
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss