claude-code - 💡(How to fix) Fix [BUG] Permissions prompt despite bypass [1 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#52075Fetched 2026-04-23 07:37:13
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Author
Participants
Timeline (top)
labeled ×5

Error Message

Error Messages/Logs

Code Example

───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 Bash command

   rm usr/lib/julia/basecompiler* usr/lib/julia/sys* 2>/dev/null; rm -rf usr/share/julia/compiled/v1.14/* 2>/dev/null; rm -rf
   /root/.julia/compiled/v1.14/* 2>/dev/null; true
   Clean artifacts

 Do you want to proceed?
 ❯ 1. Yes
   2. Yes, and don't ask again for similar commands in /workspace
   3. No

 Esc to cancel · Tab to amend · ctrl+e to explain

---
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?

I'm running Claude in bypass permissions mode. I expect all permissions prompts to be bypassed. Very recently, new permissions prompts started appearing. An example permissions prompt is

───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 Bash command

   rm usr/lib/julia/basecompiler* usr/lib/julia/sys* 2>/dev/null; rm -rf usr/share/julia/compiled/v1.14/* 2>/dev/null; rm -rf
   /root/.julia/compiled/v1.14/* 2>/dev/null; true
   Clean artifacts

 Do you want to proceed?
 ❯ 1. Yes
   2. Yes, and don't ask again for similar commands in /workspace
   3. No

 Esc to cancel · Tab to amend · ctrl+e to explain

What Should Happen?

Permissions prompt should be bypassed

Error Messages/Logs

Steps to Reproduce

Unclear, triggered by some rm commands in tools, but not all.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.117

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

No response

extent analysis

TL;DR

The issue may be resolved by reconfiguring the bypass permissions mode in Claude Code to account for the new permissions prompts.

Guidance

  • Review the configuration of bypass permissions mode in Claude Code to ensure it is correctly set up to bypass all expected permissions prompts.
  • Investigate the specific rm commands that trigger the new permissions prompts to understand the pattern or conditions that cause them to appear.
  • Check if there are any updates or changes in the Claude Code documentation or release notes that may relate to the bypass permissions mode or permissions prompts.
  • Consider testing the issue with a different Claude model or version to see if the problem is specific to the Opus model or version 2.1.117.

Notes

The issue seems to be a regression, and the last working version is not specified, which makes it difficult to pinpoint the exact cause. The problem may be related to changes in the Claude Code or the underlying Anthropic API.

Recommendation

Apply workaround: Reconfigure the bypass permissions mode in Claude Code to account for the new permissions prompts, as it is unclear if an updated version with 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