fix: add missing USER hermes at end of Dockerfile #55
Reference in New Issue
Block a user
No description provided.
Delete Branch "local_changes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The Hermes Dockerfile switches to
USER rootfor the finalRUN chownbut never switches back toUSER hermes. This causes ALL container processes to run as root (uid 0) instead of hermes (uid 10000).Background subprocesses spawned by the dashboard (with
start_new_session=True) escape the entrypoint'sgosu hermesprivilege drop and remain root — creating root-owned files in ExoKortex that break Syncthing sync.Fix
Add
USER hermesat the end of the Dockerfile, afterVOLUME. The container now runs unprivileged from the start — every child process inherits uid 10000.Changes
ai/hermes/Dockerfile: add missingUSER hermesat end of file