[BUG] Claude is ignoring auto accept mode
Resolved 💬 16 comments Opened Sep 4, 2025 by jordan-dalby Closed Sep 5, 2025
💡 Likely answer: A maintainer (bogini, collaborator)
responded on this thread — see the highlighted reply below.
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [X] Other: CC Windows
- Claude CLI version: 1.0.103
- Operating System: Win 11
- Terminal: Windows Command Prompt
Bug Description
Claude Code is no longer following auto-accept rules and asks for permission before any writes, even if explicitly given permission.
Steps to Reproduce
- Run CC on Windows
- Ask it to write to a file multiple times
- Each time it will ask for permissions, press auto accept
- It will not auto accept
Expected Behavior
Claude to continue making changes without asking for approval every time
Actual Behavior
Babysit Claude through all tasks
Additional Context
-
16 Comments
Thank you for the bug report. We've identified the root cause: a Windows path handling bug in our permission system that was causing "accept edits on" mode to fail on Windows platforms. This regression was introduced in v1.0.103.
The fix has been included as part of v1.0.105. Please update to the latest version to resolve this issue.
Sorry for the trouble!
I'm experiencing the same issue. I have updated my code using
npm install -g @anthropic-ai/claude-code, but that hasn't resolved the issue.Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
@supunlakmal Can you confirm you are on
v1.0.105?claude -vStill being repeatedly asked if allow to write to same directory. I can see duplicate entries being added to
settings.local.jsoneach time I answer yes:The issue still persists. I have updated and cleaned the corrupted claude.local.json file, but still on the recommended version 105.
Claude Code has a Windows path bug - it keeps
adding paths with /C:\... instead of C:\... when
you approve permissions. This is why:
it still prompts
path
again next time
Thanks for letting me know, working on a fix. In the meantime, if you need to work around this issue, you can temporarily downgrade to v1.0.102 where this functionality is working correctly.
ok thanks, also tried to disable permissions altogether. that didnt work either which indicates its a deeper issue. now checking the global settings file.
Still on the same version, but cleared all entries of the the
allowarray in my project's.claude/settings.jsonand.claude/settings.local.json, and restarted. Now it never asks for permission to read anything, just goes ahead. Asked me once if it was allowed to make edits and then never asked again and I can't see it saving that setting anywhere...Hello, I have same problem since yesterday, right now im on 1.0.105 (Claude Code)
Should be fixed in
1.0.106. Please resubmit bug report if you continue having issues. Thanks!I'm on 1.0.108 and problem is still present. Should I open a new bug?
Here a report:
Claude Code Permission System Bug Report
Date: 2025-09-06
Reporter: User experiencing permission request issues
Claude Version: Sonnet 4 (claude-sonnet-4-20250514)
Issue Description
Claude Code continues to request user permission for
/tmp/**file operations despite having explicit auto-approval permissions configured in.claude/settings.local.json.Configuration Details
File:
.claude/settings.local.jsonOriginal Configuration: Multiple redundant entries for
Read(/tmp/**)(18 duplicate entries)Cleaned Configuration:
Expected Behavior
Claude Code should automatically approve all file operations in
/tmp/**without requesting user permission.Actual Behavior
Claude Code continues to ask for permission when attempting to read, write, or edit files in
/tmp/directory, despite the configuration.Test Case: When asked to create
/tmp/claude_code_permission_bug_report.md, Claude requested permission and user responded "yes, for this session" - confirming the auto-approval settings are being ignored.Possible Root Causes
/tmp/**Reproduction Steps
/tmp/**permissions in.claude/settings.local.json/tmp/directoryImpact
Recommended Actions
@paolonoli I believe this is a format issue. See https://docs.anthropic.com/en/docs/claude-code/iam#tool-specific-permission-rules. The rule should be
"Read(//tmp/**)","Edit(//tmp/**)"note there is noWritepermission.Thanks for reply, I agree with you but the file entries (like "Read(/tmp/**)",) have been written by claude-code (I've not edited it manually).
@paolonoli ask claude code to clean the settings file. you can ask it to then correctly add permissions after its cleaned the file. when the issue persisted there were corrupted or malformed entries made into the settings file. happened to everyone. this should hopefully resolve your issue.
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.