Docker chown symlink risk and targeted fix efforts
NousResearch/hermes-agent · cluster 19788 · environments
Data as of
Nothing open on GitHub. Fix merged in #33033. Check it covers your case.
The short answer
- Known?
- Yes. 6 related items grouped here, 2 issues already closed.
- Fix event
- A fix was merged to main in PR #33033. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PRs #33033, #52789. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These issues and PRs concern a dangerous recursive chown in Docker entrypoint scripts that follows symlinks and can corrupt host filesystem ownership. Multiple fixes propose replacing or constraining the recursive chown with more targeted, symlink-aware approaches.
Open issues0
Open PRs0
Fixes on record
-
#33033 fix(docker): targeted chown to preserve host file ownership in HERMES_HOME (#19795)
files:
docker/stage2-hook.sh -
#52789 fix(docker): skip symlinked stage2 chown targets
files:
docker/stage2-hook.sh,tests/test_docker_home_override_scripts.py,tests/tools/test_stage2_hook_gateway_bootstrap_state.py,tests/tools/test_stage2_hook_seed_one_symlinks.py,tests/tools/test_stage2_hook_symlink_chown.py,tests/tools/test_stage2_hook_toplevel_chown.py
2 PRs closed without merging
From the close comments: merged via another change 2
Closed issues · 2
How this cluster was grouped
-
Link evidence (
partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text. - Members outside that structural core may belong to a different underlying problem.
-
Pairwise link density
0.29: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the Lab