Here is my smb.conf:
Code:
[global]
workgroup = MYWORKGROUP
server string = Samba Server
security = user
hosts allow = 192.168.0. 127.
log file = /var/log/samba/%m.log
log level = 10
max log size = 50
unix charset=UTF8
display charset=UTF8
security mask = 0777
force security mask = 0777
create mode = 0777
force create mode = 0777
directory mode = 0777
force directory mode = 0777
[alpha]
path = /media/alpha
comment = alpha
writable = yes
public = no
valid users = mike
If I create file to the local partition the permission are Owner r+w, Group r+w. If I connect to the samba server via ssh and create file there the permission are Owner r+w, Group r+w. But every file created to samba share the permission are Owner r+w, Group +r.