# NousResearch/hermes-agent · Preserve shared directory permissions during skills sync and config secure-dir handling

## Open now

- 2 issues, 1 PR open on GitHub.
- #67496: skills_sync: _rmtree_writable error handler chmods the skills root to 0700, breaking group-shared installs on every update
- #68055: config: _secure_dir() chmods through a symlinked $HERMES_HOME subdir, clamping shared skills dirs to 0700 on every load_config()
- PR #67525: fix(skills): preserve existing permissions in _rmtree_writable (#67496)

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.

## TL;DR

- 7 member(s): 2 open issue(s), 0 closed issue(s), 1 open PR(s), 0 merged PR(s), 4 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): 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 member 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.

## Open related issues

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

## Prior & competing PRs

- **#67508: fix(skills): preserve group/other perms in _rmtree_writable error handler (#67496)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`
- **#67511: fix(skills): merge owner bits in _rmtree_writable error handler instead of replacing mode (#67496)**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`
- **#67525: fix(skills): preserve existing permissions in _rmtree_writable (#67496)**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `0d632bcdd4ba`, `#67508`, `#68193`, `#67525`, `#67511`, `#374151`, `#67496`
  - files: `tools/skills_sync.py`
- **#68059: fix(config): skip symlinked HERMES_HOME subdirs in _secure_dir (#68055)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `768f42f72ff09ff37cb857141d94405529ad9bdc`
- **#68193: fix(skills_sync): merge owner-write into mode instead of clamping to 0o700 (#67496)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#67508`

## Fix status

- No merged fix on record.
- Subsystem: `hermes_cli`
- Kind: `bug` (from the open issues' GitHub type labels).
