plancked
(Slewrate)
1
Hi,
I’m trying to sync /www/wwwroot/site.com dir which is a dir which hosts a website via aaPanel.
The issue is that Syncthing gets “permission denied” since the chowner of that dir is “www” user, used by web services.
I cannot of course chown root the dir, as this will be a security issue for the website.
How can I solve this?
Thanks
Alex
calmh
(Jakob Borg)
2
You can run Syncthing as the www user, or you can run it with elevated privileges and enable ownership syncing.
2 Likes
plancked
(Slewrate)
3
Thank you for the information.
How do I run Syncthing as www user?
Alex
chaos
(chaos)
4
Would “sudo -u www syncthing” work for you?