Have user1 and user2. They are in usergroup1.
in console run it:
sudo chgrp -R usergroup1 /folder
Lihe this - https://help.ubuntu.com/12.04/serverguide/samba-fileprint-security.html > Share Security.
[folder] comment = folder path = /folder browsable = yes writable = yes guest ok = no write list = user1, user2 create mask = 0777
But only user2 can create/delete files.
I think it because before that I run in console:
sudo chown -R user2 /folder
How set folder writable for both users?
Also I try
write list = user1 user2
Without a comma. But so does not work.
I try change owner like this http://en.wikipedia.org/wiki/Chown
chown -R :usergroup1 /folder
And edit smb.conf like this
write list = @usergroup1
But still both users can't add/del file in /folder.
UPD2 - Solution
I can cunfig it! Hope it help somebody.
[folder] comment = folder path = /folder browsable = yes writable = yes read only = no create mask = 0770 directiory mask = 0770 valid users = @usergroup1
And mod for folder
chmod 775 /folder