Skip to content

Configured file permissions not being respected for ~/.claude/** paths #29639

Description

@tyleratverkada

Describe the bug

Claude Code is prompting for permission when reading files under ~/.claude/ despite having explicit permission configured in settings.json.

Configuration

In .claude/settings.json:

{
  "permissions": {
    "Read:~/.claude/**": true
  }
}

Additionally, my ~/.claude/CLAUDE.md (global instructions) explicitly states:

- **Notes Files:** `~/.claude/NOTES.md` and `~/.claude/COMPLETED_NOTES.md` - Full read/write access, modify automatically without asking

Expected behavior

Claude should be able to read ~/.claude/NOTES.md without prompting for permission, as it matches the configured Read:~/.claude/** permission pattern.

Actual behavior

When Claude attempts to read ~/.claude/NOTES.md, the system still prompts the user for permission and returns this error when rejected:

The user doesn't want to proceed with this tool use. The tool use was rejected

Steps to reproduce

  1. Configure "Read:~/.claude/**": true in .claude/settings.json
  2. Ask Claude to read a file under ~/.claude/ (e.g., ~/.claude/NOTES.md)
  3. Observe that permission is still requested despite the configuration

Environment

  • Platform: macOS (Darwin 25.2.0)
  • Claude Code version: v2.1.27

Impact

This breaks workflows that rely on Claude automatically managing notes/state files in ~/.claude/ without user intervention.

Activity

  1. github-actions commented on Feb 28, 2026

    @github-actions

    Found 3 possible duplicate issues:

    1. Hooks don't receive tool input for Read/Glob; permission patterns don't match tilde paths #17637
    2. [Critical] Claude Code Glob patterns (/**) in settings.local.json don't work - breaks developer workflow #6881
    3. [BUG] Claude is ignoring allow permissions in global settings.json #18160

    This issue will be automatically closed as a duplicate in 3 days.

    • If your issue is a duplicate, please close it and 👍 the existing issue instead
    • To prevent auto-closure, add a comment or 👎 this comment

    🤖 Generated with Claude Code

  2. added
    duplicateThis issue or pull request already exists
    and removed
    bugSomething isn't working
    platform:macosIssue specifically occurs on macOS
    on Mar 4, 2026
  3. github-actions commented on Mar 4, 2026

    @github-actions

    This issue has been automatically closed as a duplicate of #17637.

    If this is incorrect, please re-open this issue or create a new one.

    🤖 Generated with Claude Code

  4. github-actions commented on Mar 12, 2026

    @github-actions

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  5. locked as resolved and limited conversation to collaborators on Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions