Hello all
For some reasons I would like to give Syncthing access to my Sambashares (all levels). Mostly I use Samba in the local network and over VPN from outside. But there are some use cases (e.g. office and traveling), in which I want to use some folders (stored on Samba) with Syncthing locally on my clients. For this reason I need to give Syncthing access to my Sambashares. In a post here (can’t find it anymore) I found the following command to do that:
sudo usermod -a -G sambashare syncthing
I did try this command on my test server (Pioneer FreedomBox) and it works, but only for the open shares.
If I try to add a folder in Syncthing on my FreedomBox test server (path: /var/lib/freedombox/shares/homes/name/folder) it gives me a permission error.
The standard path for creating a new folder in Syncthing is /var/lib/syncthing
Here’s my question: how can I gain access for Syncthing on my home shares?
Since my FredomBoxes are running very smooth (thank you team!!!) I don’t want to mess up anything.
Further research in the internet didn’t give any insight.
Edit: With some more investigation I’ve found following instruction to give Syncthing access to Samba open and group share:
https://wiki.debian.org/FreedomBox/Manual/Samba
Integration with other apps
If you want to make available files synchronized with Syncthing through Samba you need to make sure you synchronize in a Samba share folder. Additionally in order to make Syncthing shares available in Samba Open share or Group share you will need to ensure you click “Permissions > Ignore” button under the “Advanced” tab in folder you wish in the Syncthing web UI. This will ensure that the files will be writable through Samba.
Now, it still would be cool and useful to give Syncthing access to my home share…