{"version":"2.1.326","anchor":"lnlink-treated-as-path-restricted-writes","canonical_anchor":"lnlink-treated-as-path-restricted-writes","heading":"Creating links to protected files now asks for permission","tier":"notice","area":"Permissions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/lnlink-treated-as-path-restricted-writes","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Creating links to protected files now asks for permission\n\n`ln` and `link` now ask for permission when they point at protected paths, and `rm`, `mv` and `cp` checks cover more paths\n\n**What**\n\nClaude Code now checks the `ln` and `link` commands, which create a second name for a file. If a link would touch a path that is blocked from writing, Claude Code asks for your permission and explains that a link gives the file a second name, and later writes to that name change the file.\n\nThe path checks for `rm`, `mv` and `cp` also now cover more paths.\n\n**Why**\n\nWithout this, a link could be used to reach a protected file under a different name and get around write protections.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}