[SOLVED] Samba - directory umask and personal umask
recently I created a PDC with Samba for my LAN, and after all seems to work I found a little problem I would like to solve.
I have a shared directory called dir1, and I would like that when domain users create files and directories into the shared directory, they had 775 permissions. So, here is the code:
The problem is that when a user create a directory or a file into this shared directory, they are created with the USER mask (755) and NOT with Samba shared directory mask (775).
comment = temp
path = /home/shared/dir1
read only = no
browaseable = yes
create mask = 0775
directiry mask = 0775
So the question is: how can I give "preference" to Samba shared directoy mask??