I'm using ubuntu server 10 and I have this configuration in my smb.conf:
[www]
comment = Web files
path = /var/www
browsable = yes
writeable = yes
create mask = 0775
directory mask = 0775
valid users = @developers
When I connect trough MAC OSX machine and create a file or directory the permissions are set with 755.
Why?