{"version":"2.1.129","anchor":"safer-file-writes-around-symlinks","canonical_anchor":"safer-file-writes-around-symlinks","heading":"Safer File Writes Around Symlinks","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.129\/e\/safer-file-writes-around-symlinks","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.129","markdown":"### Safer File Writes Around Symlinks\n\nClaude Code now refuses more unsafe write paths involving symlinks unless the caller explicitly allows symlink writes.\n\n**Details**\n\n- Writes through symlinked files can now fail fast with guidance to resolve the symlink and pass the real path.\n- Writes into symlinked parent directories are rejected.\n- The fallback non-atomic write path also checks `O_NOFOLLOW`.\n\n**Evidence**\n\nSymlink write protections (search for `\"Refusing to write through symlink:\"` and `\"Refusing to write into symlinked directory:\"`)"}