Unclear Exactly which paths count as a mounted drive, and whether the check runs outside Windows and WSL, is not stated.
Claude Code now asks for your approval before running rm (the command that deletes files) when it would remove:
- a mounted drive
- the folder that holds mounted drives
- a file or folder at the top level of a drive
- files picked out by a recursive delete whose pattern Claude Code cannot read
This approval cannot be granted ahead of time by your permission rules. To turn the prompt off, set the environment variable CLAUDE_CODE_DISABLE_MOUNTED_DRIVE_RM_PROMPT.
The prompt is on by default, so deleting on a mounted drive now stops and waits for you, which guards against wiping a whole drive by mistake.
tengu_iridescent_boot Not enough to sayNothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.
This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.304: on
These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.
Read once, for one account on one subscription tier, against v2.1.304. It isn't a statement about your account. What a flag value here can and cannot tell you
Exactly which paths count as a mounted drive, and whether the check runs outside Windows and WSL, is not stated.