[BUG] trustedDirectories in the ~/.claude/settings.json not allowing home directory itself as trusted.
Resolved 💬 3 comments Opened May 18, 2026 by uuacallis Closed May 22, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
If I am in my home directory ~/ on my mac and I run claude, everytime I have to trust the directory. This is even if I have added the the following stanza to the ~/.claude/settings.json
"trustedDirectories": [
"/Users/<USERNAME>"
]
I have confirmed this works for other folders, just not the home directory.
What Should Happen?
If I explicitly add it, it should not require me to manually accept it at run time. I do realize i could use the unsafe permissions, but those are way more unsafe than this.
Error Messages/Logs
Steps to Reproduce
1) On a mac terminal type cd ~/
2) Execute Claude
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.143 (Claude Code)
Platform
AWS Bedrock
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗