Rank, 14 days: 52 on the Claude Code sheet
4 people reported
All time, since Oct 24, including 3 thumbs-up on GitHub.
Spurious rm prompt stalls subagents
“Dangerous rm operation not ruled out — the shell may read this command differently than it was parsed”
Is this your bug? What gets counted gets fixed. Pile on.
Paste this into your agent. It files your report, with your error and version.
I hit this bug: rapsheet.dev/sheets/claude-code/issues/21148/file Follow it to file my report. Show me the text before you send.
No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends
Dangerous rm prompt appears on commands without rm, stalling subagents. A background subagent's Bash command with a subshell nested inside a command substitution waits on a prompt; after Yes, worktree isolation refuses the call.
Is this your bug?
File my report- Where
- Bash tool
- Error text
Dangerous rm operation not ruled out — the shell may read this command differently than it was parsed- Versions
- 2.1.310
- Platforms
- Linux
- How bad
- Breaks a normal workflow.
Not quite your bug?
- Rm check asks with no rm6 people
Original reports1, newest first
- Bypass mode: "Dangerous rm operation not ruled out" prompt on a command with no rm stalls background subagents; worktree isolation then refuses the approved call#104925