rustdesk-server icon indicating copy to clipboard operation
rustdesk-server copied to clipboard

Do not require s6 container to run as root

Open ThiefMaster opened this issue 1 year ago • 0 comments
trafficstars

The classic containers work perfectly fine when running them as an unprivileged user (user: nobody:nobody or similar in the compose file).

However, in the s6 container this does not work out of the box, making /data a volume pointing to a directory owned and writable by that particular user fixes it, but the chown root:root ... calls for the secrets still fail (not a problem though).

It would be nice if those commands were skipped when not running as root.

I think it would make sense in any case to default to NOT running hbbs/hbbr as root, since they do not seem to need such privileges.

ThiefMaster avatar Jun 17 '24 21:06 ThiefMaster