[BUG] One specific path isn't covered by directory permissions
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Despite having given permissions to Read and Write to my entire project directory, there is one path it constantly asks for RW permissions for. I wonder if there's something in this path uri that confuses the internals of CC.
web/server/api/[...path].ts
It's a Nuxt project. I suspect it's the [...] part causing troubles. It's quite disrupting since any autonomous flows I hope to set up are blocked by this constant prompting.
What Should Happen?
The web/server/api/[...path].ts path should be treated as any other in the directory.
Error Messages/Logs
Steps to Reproduce
I'd imagine this is replicated by any project with a file name of similar convention.
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.36
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
Running Kitty and Zsh.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗