Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Syncthing Priviledges
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
hartek
n00b
n00b


Joined: 20 Sep 2018
Posts: 1

PostPosted: Thu Sep 20, 2018 10:22 pm    Post subject: Syncthing Priviledges Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum