hartek n00b
Joined: 20 Sep 2018 Posts: 1
|
Posted: Thu Sep 20, 2018 10:22 pm Post subject: Syncthing Priviledges |
|
|
Hi, I'm a bit new to gentoo (2 months in), and I'm having a bit of a problem with Syncthing and privileges and curious if the issue is my bad configuration or an issue with the package.
Freshly installing syncthing and choosing a folder in my home directory to share, syncthing has errors creating the ".stfolder" complaining about no priviledges.
This is fine, as with using a syncthing systemd unit file I have to use the one that launches as my user.
So, I edit /etc/conf.d/syncthing to have Code: | SYNCTHING_USER="my_user" | so that syncthing will run as my user, however now upon restarting syncthing I cannot access the web GUI.
However, editing /etc/conf.d/syncthing to have Code: | SYNCTHING_USER="root" | will successfully host the webgui.
Additionally, commenting out the line about users and instead having Code: | SYNCTHING_GROUP="wheel" | will function as expected, but I want it to run as my user.
What's going on here? I'm not too comfortable with how permissions work in unix, but this surely seems odd.
Thank you |
|