Experimenting in Samba with share settings:
[mytestshare]
path = /srv/mypath
comment = This is mytestshare
force group = mygroup
valid users = @mygroup
writeable = yes
create mode = 0770
force create mode = 0770
force directory mode = 2770
When I access this share from windows logged in as myname, files I create are rwxr-----
When I access this share from Putty logged in as root, files I create are rwxrwx---
I have Edited /etc/profile and added as a final line umask 007.
I want to make all new windows files when logged in as myname rwxrwx---.
Is there something I have missed?