Can't force SMB service to use directory mask, create mask

Hi everyone,

This is my first posts here. Yesterday I spent whole night tring to figure out how to force SMB service to use directory mask and create mask options. They apears in /etc/local/smb4.conf, but every time I try to create folder from Windows machine on smb share directries have 770 permissions. I would like to change it to 755.

I thing it may be somting with ACLs or something other then SMB service itself. Can you help me to trace the root of that problem?

I have dataset /mnt/NAS and pool Zdjecia there.

I have just checked and directory mask works well on UserHomes pool, so something is happening only to Zdjecia pool.

I just reset acls, and it started to work as it should working.