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 ·

Sandbox refuses commands when a protected .claude file is reached through /proc or /dev/fd

Sandboxed commands are refused when a link to a protected .claude file goes through /proc or /dev/fd, or cannot be followed

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
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.

See this entry in the whole of v2.1.333 →

Feedback