Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.282 ·

In-place file writes can refuse hard-linked files, live on one path only

Claude Code can now refuse to rewrite a hard-linked file in place, but the general switch is off and only one write path uses it

Group of 2 You'll notice Improvements
JSON All of v2.1.282
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.282,
ImprovementsSection of the release

What

A hard link is a second name on disk for the same file, so changing the file under one name changes it under every name. When Claude Code cannot save a file the usual safe way, it falls back to rewriting the file in place. Before this release that fallback wrote the file whatever its number of names. Now:

  • The in-place fallbacks (in both the normal and background file writers, and in the other in-place writers) check how many names the file has.
  • If it has more than one, the write is refused with an EMLINK error and a new HardLinkWriteRefusedError. The message begins "Could not rewrite ... in place: this file has other names on disk (it is hard-linked", explains that changing it would alter the file under every name, and asks you to remove the extra links.
  • The general switch for this check is always off in this build. The only place it is live is one write that passes refuseHardLinkedInPlace explicitly.

Why

Where it applies, an edit can no longer quietly change the other copies of a hard-linked file. Everywhere else, in-place writes behave as before for now.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhich of Claude Code's file-editing actions uses the path where the refusal is active is not settled.

See this entry in the whole of v2.1.282 →

Feedback