# NousResearch/hermes-agent · Import restoring archive files without executable permissions

## Open now

- 1 issue, 2 PRs open on GitHub.
- #99259: \[Bug\]: hermes import discards archive file modes — every executable restores at 0644 onto a fresh HERMES_HOME
- PR #99264: fix(import): keep restored scripts executable on fresh installs
- PR #163793: fix(import): scripts restored from a backup can still run

One issue reports that \`hermes import\` restores files at mode 0644 on a fresh HERMES_HOME, discarding archive file modes. Two pull requests have titles addressing keeping restored scripts executable, though their actual changes and status are not stated in the titles.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 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_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: 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

- #99259: \[Bug\]: hermes import discards archive file modes — every executable restores at 0644 onto a fresh HERMES_HOME

## Prior & competing PRs

- **#99264: fix(import): keep restored scripts executable on fresh installs**. open
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#163793`
  - files: `hermes_cli/backup.py`, `tests/hermes_cli/test_backup.py`
- **#163793: fix(import): scripts restored from a backup can still run**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `43cecf942dc578c523f6cf1b290687ab78bd1801`
  - files: `hermes_cli/backup_restore.py`, `tests/hermes_cli/test_backup_import_modes.py`

## Fix status

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