The meaning of "Syncthing should not run as a privileged or system user. Please consider using a normal user account"

Good afternoon I’ve run syncthing by root. There is a message that “Syncthing should not run as a privileged or system user. Please consider using a normal user account” come out when I open GUI. Could you please tell me is there any disadvantage if I run syncthing by root.

  1. Unless you property secure access to the GUI, any non-privileged user can gain root access to your machine
  2. Any files created by Syncthing will be owned by root. This is not normally what you want.
  3. There are very few use-cases for running Syncthing as root. People usually do it to synchronize files for multiple users, but this is better solved by running one instance per user.
  4. There may be undiscovered vulnerabilities in Syncthing which allow a non-privileged user to gain root access.
1 Like

Thanks.

Is it possible to turn the warning off?

No.

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