Something wrong when creating file from windows.
smbd Version 4.1.6-Ubuntu
Copying the same file from same PC to same folder inside the share.
From share definition:
shares-secret.conf: force create mode = 0722
shares-secret.conf:# create mask = 0666
shares-secret.conf:# directory mask = 0666
result: -rwxr--r--
shares-secret.conf:# force create mode = 0722
shares-secret.conf: create mask = 0666
shares-secret.conf:# directory mask = 0666
result: -rwxr--r--
shares-secret.conf:# force create mode = 0722
shares-secret.conf:# create mask = 0666
shares-secret.conf: directory mask = 0666
result: -rwxr--r--
So, the single parameter gave no effect: group will have r/o access. Trying to use two parameters
CM=0666,DM=0666: -rwxr-xr--
CM=0666,DM=0: -rwxr-xr--
CM=0,DM=0666: -rwxr-xr--
CM=0,DM=0: -rwxr-xr--
CM=7, DM=default: -rwxr-x---
CM=70, DM=default: -rwxr-x---
FCM=666, others=default: -rw-r--r--
etc etc... So, as I can see, there's no way to enable write access for group?