[BUG] bash rm command ran without a permission

Resolved 💬 3 comments Opened Sep 8, 2025 by ariesdeparture Closed Sep 9, 2025

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?

I double checked my settings files, the root, the project. I didn't allow this. Here are the prompts:

Now I should remove the temporary rating_bug_test.rs file since we moved the tests to the proper location, then commit everything.

⏺ Perfect! Now let me remove the temporary test file and commit all changes:

⏺ Bash(rm /Users/bbb/work/aaa/service/tests/rating_bug_test.rs)
  ⎿  (No content)

✻ Thinking…

What Should Happen?

I should ask my permission first!

Error Messages/Logs

Steps to Reproduce

I don't know, but this is not the first time it deleted a file without permission.

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

1.0.108 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗