You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
EnvironmentArea: what it touches
ImprovementsKind: in v2.1.331,
ImprovementsSection of the release
Unclear It is not known whether this check is switched on by default.
What
On platforms other than Windows, the way Claude Code picks its temporary folder can now depend on a remote switch. When that applies and the folder cannot be used, Claude Code stops with an error telling you to restart with CLAUDE_CODE_TMPDIR set to a folder only you can write to.
Why
This tightens security around temporary files, so other users on the same machine cannot interfere with them. If you see this error, setting CLAUDE_CODE_TMPDIR to a private folder fixes it.