{"version":"2.1.330","anchor":"shell-exec-directory-hold-refusal-more-specific-rm-guard-ad","canonical_anchor":"shell-exec-directory-hold-refusal-more-specific-rm-guard-ad","heading":"More specific message when a shell command is refused over its working folder","tier":"notice","area":"Permissions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/shell-exec-directory-hold-refusal-more-specific-rm-guard-ad","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### More specific message when a shell command is refused over its working folder\n\nClaude Code now says whether a refused command's folder couldn't be checked at approval time or had changed since, and adds a new check for `rm`\n\n**Unclear.** What the new `rm` safeguard checks or blocks is not shown.\n\n**What**\n\nBefore running a shell command, Claude Code checks it against your permissions and holds on to the folder the command will run in. When it refuses to run the command because of that folder, the message now tells you which of two things happened:\n\n- the folder could not be vouched for when the command was permission-checked\n\n- the folder changed after the check\n\nBefore, both cases gave the same general refusal. Claude Code also now adds a new safeguard for `rm`, the delete command, when it builds the command to run.\n\n**Why**\n\nKnowing which case applies makes it easier to work out why a command was blocked and what to do about it.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}