- Symptom
- Claude still reads files under the absolute path named in a deny ruleThe rule in ~/.claude/settings.json matches ~/.claude/private instead of /private
- Cause
- In permission rules a single leading slash is relative to the directory the settings file belongs to, not the filesystem root. Absolute paths need two leading slashes, and home paths use a tilde.
- Fix
- Write absolute rules with // and home rules with ~/ in user settings, and test them with a read attempt.
- Apply
"permissions": { "deny": ["Read(//Users/alice/private/**)", "Read(~/Documents/keys/**)"] }- Affected
- Claude Code permission rules, as of 2026-10
- Sources
Last verified 2026-10-15 · Confirmed by 0 builders