[BUG] Claude Repeatedly asks for permission to run commands, even when I've already granted it
Resolved 💬 14 comments Opened Apr 18, 2025 by f1sherman Closed Apr 7, 2026
Environment
- Platform (select one):
- [X] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 0.2.73 (Claude Code)
- Operating System: MacOS 15.4.1
- Terminal: iTerm2/tmux
Bug Description
In my project directory, I have a script (bin/rspec) to run tests. For some reason, even though I always choose Yes, and don't ask again for rspec commands in <path>, it keeps asking for permission. One strange thing is that Claude Code omits the bin/ in the message. I wonder if that's related?
Steps to Reproduce
- Ask Claude to run tests with
bin/rspec <path> - Answer
Yes, and don't ask again for rspec commands in <path> - Ask Claude to run tests again
- Claude prompts again on whether it can run the command
Expected Behavior
After step 3 I should not be prompted again
Actual Behavior
After step 3 I am prompted again
This issue has 14 comments on GitHub. Read the full discussion on GitHub ↗