I can’t seem to find a thread on this already, except for one from years ago that show it being a no-go, but is there an option in syncthing to set the permissions of files it creates? I use syncthing to go from Windows to Windows machines, I have a always on freenas jail in the middle of them basically, but I want the files that are created to have a certain permission setup. Right now it looks like it creates every file with 644, but I want 770.
If there is no option in syncthing itself, would I possibly be able to use something like umask? I am pretty new to freebsd and linux in general, so I have never tried that before, nor am I even sure 100% how. I came across umask as a possible solution via random research.
I guess I am a bit unsure where I would up the umask. Would this be inside the freenas jail somewhere or within FreeNAS itself? I know this isn’t a FreeNAS forum, but I assume you would likely have an answer for me, at least hopefully.