I cant get samba to set proper permissions on created directories

view full story

http://askubuntu.com – I have a ubuntu server sharing some folders using samba. When a client creates a new folder or file, the permissions aren't set according to the settings in smb.conf. My current settings for a specific share: [share] path = /mnt/share browsable = yes guest ok = no writable = yes read only = no create mask = 0774 directory mask = 0774 write list = netuser When a samba client (a windows 7 box) uses the 'netuser' account to create a file or directory, the permissions become drwxr-sr-- 2 netuser sambashare 4096 2012-01-22 21:14 New folder -rwxrw-r-- 1 net (HowTos)