Bash permission pattern Bash(mkdir:*) not auto-allowing mkdir commands

Resolved 💬 2 comments Opened Mar 2, 2026 by bramjoosten Closed Mar 30, 2026

Bug

Bash(mkdir:*) is configured in ~/.claude/settings.json under permissions.allow, but running a mkdir -p command still triggered a permission prompt.

Settings

{
  "permissions": {
    "allow": [
      "Bash(mkdir:*)"
    ]
  }
}

Command that was prompted

mkdir -p /path/to/project/.claude/plans

Expected behavior

The command should be auto-allowed without prompting, since it matches the Bash(mkdir:*) pattern.

Actual behavior

User was prompted for permission despite the allow rule being configured.

Environment

  • macOS (Darwin 24.6.0)
  • Claude Code CLI

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗