Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

File copies refuse hard-linked sources, and log writes refuse links

Claude Code now refuses to copy a file that has a second name (a hard link), and changes how a failed safe write retries

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

Claude Code has several new safeguards for writing files:

  • Copying a file can now be refused when the source has a second name. A second name is a hard link, meaning two paths point to the same file. The error says "it has a second name (a hard link)".
  • Some writes go to a temporary staging location first and are then moved into place. If that move fails because the two locations are on different disks, Claude Code now retries without the staging location when the sandbox may be off. The sandbox is the restricted environment some commands run in.
  • Adding to the diagnostics log can now refuse targets that are symbolic links, hard links or anything that is not a plain file. This is behind a remote switch.
Why

This makes file writes harder to redirect with link tricks, where a link makes a write land somewhere it was not meant to.

See this entry in the whole of v2.1.333 →

Feedback