Hi! Im running popensolaris b101 and ive made a zfs pool called tank and an fs inside of it tank/public, ive shared it with smb. zfs set sharesmb=on tank/public im using solaris smb and not samba. The problem is this. When i connect and create a file its readable to everyone but it should be 777. So if i create a file someone else cant erase it. How do i do to get this to work? cheers -gob -- This message posted from opensolaris.org
Mark Shellenbaum
2009-Jan-05 02:13 UTC
[zfs-discuss] zfs smb public share, files created not public
Roger wrote:> Hi! > Im running popensolaris b101 and ive made a zfs pool called tank and an fs inside of it tank/public, ive shared it with smb. > > zfs set sharesmb=on tank/public > > im using solaris smb and not samba. > > The problem is this. When i connect and create a file its readable to everyone but it should be 777. So if i create a file someone else cant erase it. How do i do to get this to work? > > cheers > -gobIt would be better to ask this question in cifs-discuss at opensolaris.org I believe the following should get you the results you want. # chmod A=everyone@:full_set:fd:allow /tank/public then all cifs created files will have full access and anyone can read,write,delete,... -Mark