{"version":"2.1.329","anchor":"rmcp-safety-symlink-removal-and-unread-expansion-path-warn","canonical_anchor":"rmcp-safety-symlink-removal-and-unread-expansion-path-warn","heading":"Safer checks for rm on symbolic links and on paths that hold unknown shell values","tier":"notice","area":"Permissions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329\/e\/rmcp-safety-symlink-removal-and-unread-expansion-path-warn","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329","markdown":"### Safer checks for `rm` on symbolic links and on paths that hold unknown shell values\n\n`rm` checks now note when a target is a link rather than the file it points to, and warn when a path's value can't be worked out\n\n**What**\n\nClaude Code has new checks for `rm` (the command that deletes files) when Claude asks to run it:\n\n- Symbolic links: a symbolic link is a shortcut that points at another file or folder. When the last part of the path is one, Claude Code's decision says that `rm` removes the link, not what it points to.\n\n- Unknown shell values: a shell expansion is a placeholder such as `$SOMEDIR` that the shell fills in when the command runs. When a target holds one whose value Claude Code can't work out, it now gives a dangerous-removal warning, because the path could turn out to be `\/`, the top of your whole disk.\n\nThe order of the safety checks for `cp` (the copy command) also changed.\n\n**Why**\n\nThese checks decide when an `rm` command makes Claude Code stop and ask you first, and when it is blocked outright. You may now see a prompt or a block for a deletion that went through before.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}