You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SandboxArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release
What
The sandbox is a restricted environment Claude Code uses to run shell commands so they cannot touch files they should not. Some files, such as .claude/settings.json, are protected. A link (a file that points to another file or folder) can lead to one of these protected files.
On Linux and similar systems, with the sandbox switched on and not in relaxed mode, Claude Code now refuses commands in these cases:
a link at or above a protected .claude file goes through a per-process path such as /proc/self/cwd or /dev/fd
a link at a protected file cannot be followed
The refusal covers sandboxed commands and also commands Claude asks to run outside the sandbox with dangerouslyDisableSandbox. An error message explains what happened and suggests running Claude Code with --debug for details.
A second message appears when a link at a protected name has changed: commands are then refused until the sandbox is rebuilt. A change in whether Claude Code reads a worktree pointer also causes the sandbox to be rebuilt.
Why
If your .claude files are links that pass through /proc or /dev/fd, every command may be refused until you remove or replace the link.