If you've got unique user names on each computer:
Let's say you have these users: ubox, box1, box2, box3, box4?
1. I'll assume you've added these users to both the ubuntu users and the samba users.
2. You might want to add these users to a group called ex. shareusers, then change group on all shares to this group name.
3. Now you change owner of all shares to ubox, and set his access rights to read and write: chmod -R 0644 <sharename>.
The above command will also set the groups access rights to read, and everyone else to read.
You could also do the same without adding all users to the group you created, but then you need to use force group = shareusers, which will in effect cause all logons to use the group shareusers. This has to be added to each of the share definitions in smb.conf.
As you can see by this, the samba share rights are handled exactly the same way as access rights locally on any linux system.
This is the reason you have to create a linux user (or an alias) for each samba user. So that linux knows what user the network access is operating as.
Hope this helps?
Last edited by TylerD75; 10-05-2006 at 12:03 PM.