Bug Description
The Bash tool prompts the user for permission to run basic shell commands (ls, mkdir) even when the user's settings files (both ~/.claude/settings.json and .claude/settings.local.json) explicitly allow these commands.
Steps to Reproduce
- Configure settings to allow basic shell commands (e.g.,
ls, mkdir) in ~/.claude/settings.json and/or .claude/settings.local.json
- Ask Claude to perform a task that requires listing a directory or creating a directory via the Bash tool
- Claude calls the Bash tool with e.g.
ls /some/path or mkdir /some/path
- The CLI prompts the user for permission instead of auto-approving
Expected Behavior
Commands explicitly allowed in settings files should be auto-approved without prompting the user.
Actual Behavior
The CLI prompts the user for approval. When the user rejects (because they shouldn't have been asked), the tool call fails.
Additional Context
- This has been observed across multiple sessions and conversations
- Affects at least
ls and mkdir commands
- The user has confirmed the commands are present in their settings files as allowed
Bug Description
The Bash tool prompts the user for permission to run basic shell commands (
ls,mkdir) even when the user's settings files (both~/.claude/settings.jsonand.claude/settings.local.json) explicitly allow these commands.Steps to Reproduce
ls,mkdir) in~/.claude/settings.jsonand/or.claude/settings.local.jsonls /some/pathormkdir /some/pathExpected Behavior
Commands explicitly allowed in settings files should be auto-approved without prompting the user.
Actual Behavior
The CLI prompts the user for approval. When the user rejects (because they shouldn't have been asked), the tool call fails.
Additional Context
lsandmkdircommands