jdrch Posted March 16, 2020 Report Posted March 16, 2020 I'm currently running Resilio Sync as root on FreeBSD (don't be put off by the OS; I suspect anything that works on Linux will work on FreeBSD too as long as the appropriate equivalent commands are used.) I'd like to get it running under my username instead of root. How do I do this without having to set up Sync from scratch again? I suspect I'd have to move the .sync folder from its current location in /bin to somewhere it can be read without superuser permissions, e.g. usr/home/myusername/ , and then I'd also have to change permissions on the files and folders that synced as root. I'd probably also have to create a .conf file, save it somewhere it can be read without root, and use it to point to the .sync folder's new location. Does that sound right? Any other ideas? Quote
AlexC Posted March 16, 2020 Report Posted March 16, 2020 @jdrch Yes, it looks good! 👍🙂 You can use the following command to start Sync rslsync --storage <path-to-.sync-folder> In this case you can omit using sync.conf Quote
jdrch Posted March 18, 2020 Author Report Posted March 18, 2020 Good news: it worked! Bad news: I missed a step. You also have to change ownership and permissions on the .sync folder copy so your user account can read it and its contents. Otherwise you'll get a permissions error. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.