You can set user for everything and users for particular dirs. If shared directory have its own list of users, global one wont work... Files in directory will be created with rights of configured user.
It was long ago when I used samba so you have to ask google for syntax. If you are sharing directory between linux think about sshfs.
|