{"version":"2.1.337","anchor":"file-tools-refuse-to-write-into-the-rm-guard-folder-of-the-c","canonical_anchor":"file-tools-refuse-to-write-into-the-rm-guard-folder-of-the-c","heading":"File tools refuse to write into the rm-guard folder","tier":"notice","area":"Permissions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/file-tools-refuse-to-write-into-the-rm-guard-folder-of-the-c","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### File tools refuse to write into the rm-guard folder\n\nClaude Code's file tools refuse to write into the rm-guard folder of its config directory, and this refusal can't be approved automatically\n\n**What**\n\nClaude Code's file tools, the ones Claude uses to create and edit files, refuse to write into the rm-guard folder inside the Claude Code config directory. That directory is `~\/.claude`, or wherever `CLAUDE_CONFIG_DIR` points. The refusal also covers writing through a link that leads into that folder.\n\nThe reason given is that a script placed there could run in place of `rm`, the delete command, in later shell commands without anyone being asked. This check cannot be waved through by the automatic approval step that otherwise lets some actions run without asking you.\n\n**Why**\n\nIt stops a file Claude writes from quietly taking over `rm` in commands that run later.\n\n- Area: Permissions\n- Names: `CLAUDE_CONFIG_DIR`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}