Using Syncthing, I don’t want the files to be synchronized in /var/lib—I prefer to use a USB stick (/media/...).
When I specify the directories to use in Syncthing’s web interface, I get “permission denied” errors, indicating Syncthing can’t create the directories.
I solve this by manually creating the required directories (like .stfolder) via SSH.
For /var/lib, I see that both the user and group are set to syncthing, so I understand why I get the error.
However, I wonder why my user isn’t made part of the syncthing group when installing syncthing. It seems unlikely this is a mistake—there must be a reason for it. What is that reason?