I have a shared folder set up on an ubuntu machine. When someone connects to the folder and creates a file, the file permissions set the group to read/write. I can check the permission on Ubuntu or Windows and they both show the group has read/write permission.
The problem comes when a user tries to edit a file created by another user. For example, user1 creates a text document. If user2 connects to the shared folder they can open the text document but when they try to save the file there is an error saying they don't have permission. Each user is also a part of the same group.
My samba.conf file addition looks like this:
[foldername]
page = /home/path/to/directory
writeable = yes
browseable = yes
read only = no
valid users = user1, user2, user3, user4