NousResearch/hermes-agent

Preserve shared directory permissions during skills sync and config secure-dir handling

Cluster 67496 · hermes cli · Bug. Data as of

3 open items. Fix attempted, not merged.

The short answer

2open issues
1open PR
7items grouped
Known?
Yes. 7 related items grouped here, 0 issues already closed.
Fix event
No fix has been merged to main. 4 PRs closed without merging; see the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.

Most members concern permission handling that can clamp shared skills directories to 0700: several PRs change the _rmtree_writable error handler in skills sync to merge owner bits rather than replace the mode, and one issue and PR address _secure_dir following symlinked HERMES_HOME subdirectories. The two code paths differ, but they share the theme of preserving group-shared installs.

Open issues2

  • Issue#67496skills_sync: _rmtree_writable error handler chmods the skills root to 0700, breaking group-shared installs on every update
  • Issue#68055config: _secure_dir() chmods through a symlinked $HERMES_HOME subdir, clamping shared skills dirs to 0700 on every load_config()

Open PRs1

  • PR#67525fix(skills): preserve existing permissions in _rmtree_writable (#67496)

4 PRs closed without merging

From the close comments: duplicate 1 · merged via another change 1 · superseded by another PR 1 · other 1

  • #67508 fix(skills): preserve group/other perms in _rmtree_writable error handler (#67496) · merged via another change
  • #67511 fix(skills): merge owner bits in _rmtree_writable error handler instead of replacing mode (#67496) · other
  • #68059 fix(config): skip symlinked HERMES_HOME subdirs in _secure_dir (#68055) · superseded by another PR → 768f42f
  • #68193 fix(skills_sync): merge owner-write into mode instead of clamping to 0o700 (#67496) · duplicate → #67508
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.26: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

For your agent

The same facts, typed.