claude-code - 💡(How to fix) Fix [BUG] Endless prompts for permission [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48010Fetched 2026-04-15 06:35:55
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1subscribed ×1

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Claude now prompts for permission to access every file, which makes it useless. Even if I select "allow and don't ask again" it keeps asking. I'm running it with claude --dangerously-skip-permissions which used to disable this horrible behavior, but now this seems to do nothing.

Claude itself recommended adding "defaultMode": "bypassPermissions" to the permissions block of ~/.claude/settings.json but after a restart that still did nothing.

I'm using the current release which is 2.1.107.

What Should Happen?

If I disable permissions, Claude should not ask for permission to edit every single file.

Error Messages/Logs

Steps to Reproduce

  1. Launch Claude with claude --dangerously-skip-permissions and when it asks to trust the cwd, say yes
  2. have it do some task
  3. ask it to save a log of its actions to ./.claude/log.txt
  4. notice it incorrectly asks you for permission to write to ./.claude/log.txt

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.107

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Xterm

Additional Information

No response

extent analysis

TL;DR

The issue can be potentially resolved by modifying the permissions block in the ~/.claude/settings.json file, although the previously suggested change did not work.

Guidance

  • Verify that the ~/.claude/settings.json file has the correct syntax and that the "defaultMode": "bypassPermissions" setting is correctly applied to the permissions block.
  • Try removing the --dangerously-skip-permissions flag and rely solely on the settings.json configuration to manage permissions.
  • Check if there are any other settings or configurations that might be overriding the bypassPermissions mode.
  • Consider downgrading to a previous version of Claude Code, if possible, to see if the issue is specific to version 2.1.107.

Example

No code snippet is provided as the issue is related to configuration and permissions.

Notes

The issue seems to be a regression, and the previously working version is not specified. The --dangerously-skip-permissions flag not working as expected might indicate a change in how permissions are handled in version 2.1.107.

Recommendation

Apply workaround: Modify the ~/.claude/settings.json file and test different configurations to find one that works, as the current version's behavior has changed.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING