I have defined the following share in smb.conf
[development_server]
comment = Development directories
path = /sites
writeable = yes
valid users = @dev
guest ok = no
directory mask = 0775
create mask = 0775
The problem is that whenever I create a file within windows the permissions of that file are set as 764 instead of being set as 755. Directories however are set correctly with 775. I am confused. I tried setting the following:
[global]
unix extensions = yes
But this did not help either.