Hello, I found this other topic here ( Need help please - setup issue - .stfolder: permission denied - #4 by chaos ) but it doesn’t really answer the question I have and their setup is a bit different.
I just installed Syncthing on Ubuntu 26.04.1 LTS using the documentation on how to add to Debian systems, and installed the repository and program from terminal. I then opened Syncthing from the gui and tried to add my first folder. That’s when I got the .stfolder creation permission denied error.
First, I’m not sure how to tell what user is running syncthing. I assume it’s just my own account since I opened it from the gui using ‘Start Syncthing’ and then the web gui option. If I check the folder that I’m trying to add to start syncing, I see the permissions are set like this:
drwxr-xr-x 4 root root 4096 Oct 9 04:49 30ed69d0-69ed-4f3c-a0c7-2595ca545467
So, do I just need to make the owner of that folder be my own user account instead of root?
Also, do I need to do anything to make Syncthing start with my computer now? I wasn’t sure with the Debian repository install if I just needed to use ‘Start Syncthing’ the once and that’s it, or if I should follow the instructions to get it to run on startup with systemd or something else like that?
Thanks so much!