I am running syncthing on a Solaris server and syncing the server content against a range of windows clients. Everything runs smooth except for the file permissions. Non of the windows-users is allowed to apply changes to any of the files. On the solaris machine Syncthing runs under a useraccount named ‘Sync’. User Sync is part of the user-group called “staff”. All windows-user belong to group “staff”. The solaris-CIFS server maps all usernames to windows-names. I suppose the problem arises from the fact, that Syncthing is creating all files with permissions that exclude write-access for group members:
-rwxr-xr-x+ 1 Sync staff 33783808 Feb 24 08:53 some_file.txt
Is there a way to change this behaviour? I’ve tried to change the umask setting to 0022 but this didn’t help. I really appreciate any help on this issue.
Kind regards Lampos