Syncthing on CentOS - user permissions

I use Syncthing on a CentOS server and I can easily sync folders that are under my user directory (/home/myuser/). I enabled Syncthing on systemd (systemd enable Syncthing@myuser). The problem comes when I would like to sync folders / directories that are not under /home/myuser/, these folders are not synchronized to other devices because myuser can not read and write on other users directories.

So, basically I can not sync any folder under /home/user1/, /home/user2/, etc. because these folders are owned by user1, user2, etc.

If I run Syncthing as root user, everything seems to work but I get a security warning on GUI. Is it OK to run as root user or there is a better way to achieve what I want?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.