I have my samba config as such:
[global]
security = user
guest account = nobody
[media]
path = /data/media
browsable = yes
guest ok = yes
guest only = yes
read only = no
create mask = 0765
Which works fine - windows clients browse to shares as guest and get mapped to the nobody account. However I have a strange problem.
If I have a file owned by nobody, such as:
-rwxrw-r-- 1 nobody media 252125 Dec 18 2011 rss.dat
My windows clients can do whatever they like to the file. However if a file is not owned by nobody:
-rwxrw-r-- 1 user media 252125 Dec 18 2011 rss.dat
Then my windows clients can't touch the file, windows always says you need permission from "SERVER\user" to change the file. However nobody is in the media group:
# From /etc/group
media:x:1002:user,nobody
So shouldn't the nobody user be able to change files because of group permissions? Or is there something special with samba I'm missing?
Thanks!