claude-code - 💡(How to fix) Fix [BUG] Claude code wont stop asking for permissions for everything [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#48225Fetched 2026-04-15 06:29:39
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1

Error Message

Error Messages/Logs

Code Example

---
  Title: Tool calls prompt for permission even with defaultMode:
  bypassPermissions set

  Description:
  Even with defaultMode: bypassPermissions in
  .claude/settings.local.json, Claude Code continues to prompt for
  approval on individual tool calls (Bash, Write, Edit). This makes
  the bypass setting effectively useless — I have to approve every
  single action manually.

  Config:
  {
    "permissions": {
      "defaultMode": "bypassPermissions"
    }
  }

  Expected: No permission prompts at all.
  Actual: Every tool call still prompts for approval.

  Version: Claude Code (Windows 11)
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?

This started happening a few weeks ago and its the worst. bypass permissions no longer works. https://www.reddit.com/r/ClaudeCode/comments/1rvo79u/claude_code_keeps_asking_for_permission_even_with/ https://www.reddit.com/r/ClaudeAI/comments/1rcpw0y/claude_code_started_asking_permissions_for/

What Should Happen?

claude code shouldnt ask for permissions for everything when bypass permissions is on, or when its settings says not to.

Error Messages/Logs

---
  Title: Tool calls prompt for permission even with defaultMode:
  bypassPermissions set

  Description:
  Even with defaultMode: bypassPermissions in
  .claude/settings.local.json, Claude Code continues to prompt for
  approval on individual tool calls (Bash, Write, Edit). This makes
  the bypass setting effectively useless — I have to approve every
  single action manually.

  Config:
  {
    "permissions": {
      "defaultMode": "bypassPermissions"
    }
  }

  Expected: No permission prompts at all.
  Actual: Every tool call still prompts for approval.

  Version: Claude Code (Windows 11)

Steps to Reproduce

  1. Add defaultMode: bypassPermissions to .claude/settings.local.json: { "permissions": { "defaultMode": "bypassPermissions" } }
  2. Run claude in a project directory
  3. Ask Claude to create a file or run a bash command
  4. Observe that Claude still prompts for permission approval on every tool call despite bypassPermissions being set

Expected: No prompts — all tool calls execute immediately Actual: Every Bash, Write, and Edit call still triggers a permission prompt requiring manual approval

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.108 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

This problem exists in all versions across all operating systems.

extent analysis

TL;DR

The issue can be potentially resolved by checking the configuration file .claude/settings.local.json for any typos or incorrect formatting, and ensuring that the defaultMode is correctly set to "bypassPermissions".

Guidance

  • Verify that the .claude/settings.local.json file is correctly formatted and that the defaultMode is set to "bypassPermissions" as shown in the example config:
{
  "permissions": {
    "defaultMode": "bypassPermissions"
  }
}
  • Check if there are any other configuration files or settings that might be overriding the defaultMode setting.
  • Try resetting the Claude Code settings to their default values to see if the issue persists.
  • If the issue is still present, try checking the Anthropic API documentation to see if there are any known issues or changes that might be causing the problem.

Notes

The issue seems to be a regression, as it worked in a previous version, but the last working version is not specified. The problem exists across all operating systems, which suggests that it might be related to the Claude Code or Anthropic API rather than the platform or operating system.

Recommendation

Apply workaround: Since the issue is a regression and the last working version is not specified, it's difficult to recommend an upgrade to a fixed version. Instead, applying a workaround, such as manually verifying and adjusting the configuration file, might be the best course of action until a fix is available.

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