claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Claude continually asks for permission, even after selecting yes, always allow.

Open Jkrise opened this issue 1 year ago • 34 comments

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?

When asking Claude to do anything, it asks for permission first. If I select yes, always allow, the next time it does the same thing, it asks again, over and over. I've tried local and global permissions, but it keeps doing the same thing.

What Should Happen?

Claude should remember the user's choices

Error Messages/Logs

Read file

  Read(AP-Cleanup-Documentation.md)

 Do you want to proceed?
 ❯ 1. Yes
   2. Yes, during this session
   3. No, and tell Claude what to do differently (esc)

Steps to Reproduce

Ask Claude the scan the directory Wait for the prompt for permission select yes, always allow Repeat the request to scan the directory again and it will ask for permission again

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

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

No response

Jkrise avatar Nov 10 '25 21:11 Jkrise

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/10629
  2. https://github.com/anthropics/claude-code/issues/11172
  3. https://github.com/anthropics/claude-code/issues/7161

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Nov 10 '25 21:11 github-actions[bot]

I am having the same issue. It seems to occur when a general subagent is spun up and attempts to take action. If a specific subagent is used the permissions set for that agent apply as expected.

nspady avatar Nov 10 '25 21:11 nspady

I am having the same issue when I was using a network resource \\10.0.0.10\files\claude, this was working for well over a month and I was working on it yesterday. Setting permissions and any other fixes that claude suggested didn't have any effect. In the end I mapped the network drive and this seems to fix the issue.

andrewSaros avatar Nov 10 '25 22:11 andrewSaros

Yeah, doesn't matter if you have this in your global, project, vscode, settings. Note it told me that Bash used a different format, but still doesn't work. Hmm it changes the format here but anyway

"permissions": { "allow": [ "Read()", "Write()", "Edit()", "Glob()", "Grep(**)", "Bash(::)" ],

It won't stop asking unless this is in this file. Not ideal but if you are tired of it. You then have the ability to shift tab thru 3 options. Plan, Accept, Bypass and only bypass works so if after you get, they plan together you can switch and not have to say yes, all the time and hope it behaves as you watch it.

C:\Users\YourUser.claude\settings.json "defaultMode": "bypassPermissions",

michaelchrisco-stack avatar Nov 11 '25 19:11 michaelchrisco-stack

This has been a problem since day one. This is the single largest flaw in Claude Code, and it should really be Anthropic's highest priority. Even YOLO mode prompts for endless permissions.

cruftyoldsysadmin avatar Nov 14 '25 09:11 cruftyoldsysadmin

I also see this issue, where at least the user's global permissions are ignored. It doesn't seem to matter what rule. I have auto-updates enabled, using macOS sequoia.

patrickkidd avatar Nov 16 '25 13:11 patrickkidd

I'm experiencing this same issue on version 2.0.50, so it's still present in the latest release. This was working correctly before version 0.36 but has been broken since then.

This is incredibly frustrating, especially when working with long files. I'll often ask Claude Code to read a file, switch to a different task, and come back only to find it's been sitting there waiting for permission to read part of the file - permission I already granted! The whole point of "always allow" is to avoid this exact scenario.

The workflow disruption is significant, particularly when dealing with large files that need to be processed in sections. Having to babysit permission prompts defeats the purpose of having an AI assistant handle these tasks autonomously.

cmwalton avatar Nov 24 '25 17:11 cmwalton

I would suggest checking settings.local.json. I had my project's permissions configured thoroughly in settings.json file which had no effect until I duplicated it and renamed to settings.local.json. After that everything went smoothly.

according to docs settings.local.json is "non-checked" settings, personal prefs, whereas settings.json are "checked" settings can be shared across team. But it's not very clear how should they co-exist, seems like in my case settings.json was partially ignored

kas-kad avatar Dec 02 '25 19:12 kas-kad

Experiencing the same issue; detailed comment on #11172 with additional evidence that even manually-added glob patterns in settings.local.json are not being respected (v2.0.59, Linux)

SimonDedman avatar Dec 05 '25 19:12 SimonDedman

Same issue, still occurring. Claude team please fix.

tonydehnke avatar Dec 16 '25 09:12 tonydehnke

Same issue here.

newformula avatar Dec 18 '25 00:12 newformula

Same issue here

niteeshm avatar Dec 21 '25 15:12 niteeshm

Same issue, really detracts from Claude Code's usability. Paying substantial monthly fee and this bug is a real time waster.

podkayne-mars avatar Dec 24 '25 02:12 podkayne-mars

+1. One of the most annoying bugs in claude since and has been around since I started using claude a while ago. Changes to settings.local.json made no difference.

thomastthai avatar Dec 25 '25 08:12 thomastthai

+1.

fendo8888 avatar Dec 25 '25 12:12 fendo8888

+1

icidab avatar Dec 25 '25 17:12 icidab

+1

cheeselemon avatar Dec 29 '25 05:12 cheeselemon

This bug is gonna make me go back to cursor...damn it's frustrating

sleechie avatar Dec 30 '25 06:12 sleechie

@claude Create a comprehensive review of this issue and outline to fix using the following steps:

  • Systematically review each comment in each github issue potentially pertaining to this one
  • Identify all information that might be useful for debugging this issue.
  • Come up with a comprehensive plan to debug and fix this issue
  • Create a worktree and address this issue

Important: This is a production issue and must be fixed immediately Important: Use any agents and tools at your disposal Important: Provide detailed summaries of all findings and steps Important: All linting, tests, and checks MUST pass before any phase can be considered complete

archae0pteryx avatar Dec 30 '25 17:12 archae0pteryx

+1

hsdxpro avatar Dec 31 '25 15:12 hsdxpro