I'm starting to pull my hair out (and I don't have much left unfortunately).
My setup is the following. I have Ubuntu Server 12.04LTS running on a box in my office which has the following SMB share:
[galactica] comment=galactica path=/mnt/galactica browsable=yes writeable=yes guest ok=yes read only=no create mask=0777 follow symlinks=yes directory mask=0777
I have a desktop machine in the family room that my wife and I use (each with separate accounts), which is currently running Ubuntu Client 13.10. I've configured the FSTAB to auto-mount the samba share automatically at boot:
//192.168.1.118/galactica /media/galactica cifs guest,_netdev,iocharset=utf8,gid=1002,uid=1000 0 0
The GID is a group that has both our user accounts in it (me + wife). The UID is my user account. All of this works just fine in my user account.
When my wife is using the share drive, she is able to create directories with no issue, however the problem arises when she attempts to create files.
When she copies or creates files in the share, the icons show up with a little lock in the lower right hand corner. When looking at the permissions for these files, it appears that my user owns the file and she has only read permissions (group and other have read permission as well).
I've tried many, many different fstab configurations, but nothing seems to help. (including adding her UID, noperm, umask, dmask, fmask, etc.)
Help me internet! You are my only hope.