{"version":"2.1.336","anchor":"attachment-open-now-has-an-optional-single-link-and-not-dele","canonical_anchor":"attachment-open-now-has-an-optional-single-link-and-not-dele","heading":"Opening an attached file can now refuse files with a second name or a deleted path","tier":"internal","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/attachment-open-now-has-an-optional-single-link-and-not-dele","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Opening an attached file can now refuse files with a second name or a deleted path\n\nClaude Code's safe file open gains an option to refuse a file that has more than one name or has been deleted\n\n**What**\n\nThe safe way Claude Code opens files, such as attachments, now has an optional stricter mode. When it is used, the open is refused if:\n\n- the file has more than one name on disk, meaning a hard link points to it, with the error \"the file has a second name\"\n\n- the file's path shows it has been deleted\n\n**Why**\n\nThis guards against tricks where a file is swapped, linked or removed between being checked and being opened.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}