# NousResearch/hermes-agent · Profile deletion failing due to read-only or immutable files

## Open now

- 1 issue, 2 PRs open on GitHub.
- #43339: \[Desktop\] Profile deletion fails when .env has macOS immutable flag
- PR #43340: fix(profiles): clear macOS immutable flag before shutil.rmtree during profile deletion
- PR #43377: fix(cli): delete profile directories with read-only file recovery

These items address failures when deleting profiles that contain read-only or macOS immutable files. The work involves clearing such flags before attempting directory removal.

## 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

- #43339: \[Desktop\] Profile deletion fails when .env has macOS immutable flag

## Prior & competing PRs

- **#43340: fix(profiles): clear macOS immutable flag before shutil.rmtree during profile deletion**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `hermes_cli/profiles_remove.py`, `tests/hermes_cli/test_profiles.py`
- **#43377: fix(cli): delete profile directories with read-only file recovery**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#47368`, `#49435`
  - files: `hermes_cli/profiles.py`, `tests/hermes_cli/test_profiles.py`

## Fix status

- No merged fix on record.
- Subsystem: `hermes_cli`
