I've set up samba server on my linux box, but I'm experiencing troubles with permissions. When I log in using ssh (user myusr, group mygrp)and I try to modify file with 060 (--- rw- ---) permissions, owner nobody and group mygrp, everything goes well. But it is impossible to modify this file through samba - I can only read that file, but can not modify it.
My smb.conf is written like this: [dir] comment = samba share writable = yes public = no browsable = yes path = /home/public/share
Most likely it's because the samba user runs typically as 'nobody' on the system. You can either change the user it runs as (not recommended), or change your permissions. You can do this through extended ACLs, if your filesystem supports it. (I don't think ext3 supports extended ACLs). Or you can change the permissions to be more permissive.