Just a general point: That’s going to be inefficient, as in likely super slow. Ideally you run Syncthing on the device that actually has the data locally.
Most likely samba doesn’t allow permission operations. The example you showed makes it look like it’s been mounted with the option to just show all permissions as 777. Unless you do manage permissions between whatever is behind SMB, in SMB itself and locally, setting syncthing’s “ignore permission” option is likely what you want to do.
Thank you @imsodin!
I’m not quite sure what you mean with “permission operations” but you’re absolutely right, samba does have some kind of issue with that …
Setting the “ignore permission” option indeed solved the issue!
As for the performance side of things:
Also thanks for that … I’ve thought about that aspect in the past but having a separate storage device/server from the actual “application server” shouldn’t be rare at all, right?
Eventually there’s some better solution, if someone has experience/knowledge in this field please share it!
Creating a SMB share just seemed as the best solution to me, as e.g. NFS (whoose performance probably is roughly similar) doesn’t bring any good authentication system (apart from IP restriction) with it.
Indeed that’s not rare, though Syncthing is a storage application thus should run on the storage server. You can still use smb for whatever else you are running on the app server. There might be some more performant options than smb or tweaks of it’s config, but it won’t change the fundamental issue: Interacting with a filesystem over a network will always be a lot slower than local access.
Of course imsodin … and there’s definitely validity to your criticism.
EDIT: I know there are tons of variable factors to this but how would the performance aspect be with SMB, thus storage over network but we assume both servers are on the same hardware server, e.g. two virtualized VMs?
This would mean the speed relies on internel bus connections, etc.
Could it perform similar to Syncthing “directly” on the same OS/filesystem?