{"version":"2.1.281","anchor":"output-file-open-retries-once-if-a-symlinks-target-changes","canonical_anchor":"output-file-open-retries-once-if-a-symlinks-target-changes","heading":"Output-file open retries once if a symlink's target changes mid-open","tier":"internal","area":"File Access","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/output-file-open-retries-once-if-a-symlinks-target-changes","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### Output-file open retries once if a symlink's target changes mid-open\n\nOpening an output file now retries once if a symlink's target changes, then fails instead of continuing\n\n**Unclear.** The finding does not say which output files this applies to or what the removed early check did.\n\n**What**\n\nWhen Claude Code opens an output file and the path goes through a symlink (a shortcut that points to another location), it checks where the link leads. If that check cannot be repeated because the target changed during the open, Claude Code now tries once more. If that also fails, it stops with the error \"output leaf changed during open\" rather than carrying on. An earlier check that returned early with no result was removed.\n\n**Why**\n\nOutput is not written to an unexpected place if a link is swapped while the file is being opened.\n\n- Area: File Access\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5"}