Define the HOME environmental variable inside the Dockerfile (classic) to allow running rootless#612
Merged
Conversation
carloscampano
added a commit
to carloscampano/rustdesk-server
that referenced
this pull request
Jun 28, 2026
Backport: 3 mejoras de upstream oficial (fix rustdesk#435, connection-log query, rootless rustdesk#612)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When running as a not-root user, the rendezvous server (hbbr) fails to create the config directory (#526):
ERROR [libs/hbb_common/src/config.rs:538] Failed to store config: Failed to create directory.The reason being that when using a non-root user, e.g.
user: 1234, since it's missing in the/etc/passwdthe home directory defaults to the root of the filesystem (/), but as the container is not running as root, it does not have permission to write there./rootis the mapped volume which the user is expected to have already set the correct permissions for the container to run, thus the simples workaround is setting theHOMEvariable to/root, where the.configdirectory can be created.