Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.285 ·

Repository sandbox file grants are dropped or withheld in more cases

Sandbox read and write grants from a repo's project or local settings are now ignored under an admin mandate or when they point into denied paths

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

Unclear Whether blockReadsOutsideWorkingDirectories is on by default is not established.

What

The sandbox limits which files commands run by Claude can read and write. Project and local settings files, which can be committed to a repository, can add grants to that list. Before, their allowWrite and allowRead entries were always merged in. Now they are checked first:

  • Under an admin sandbox mandate (managed settings require the sandbox), sandbox.filesystem.allowWrite, Edit allow-rule paths and allowRead paths from project and local settings are dropped. A one-time log line says "[sandbox] filesystem grants restricted to trusted settings tiers: ignoring".
  • The same grants are also dropped when the path is under or inside a path you denied reading.
  • With blockReadsOutsideWorkingDirectories on, repo-committed allowRead and allowWrite grants are withheld if they are globs (wildcard patterns), UNC paths (Windows network-share paths), automount paths, or lead through symlinks (shortcuts to other locations) into denied read paths. The log line starts "[sandbox] withheld".

Why

A repository's settings can no longer quietly widen what sandboxed commands may touch. If you relied on project or local settings to grant sandbox access, check the log for these lines when a command is refused.

Read from
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Code in Claude Desktop on 3P touched a line naming blockReadsOutsideWorkingDirectories after this was published. The network and filesystem sandboxes apply on macOS, and on Linux devices and [SSH hosts](/docs/third-party/claude-desktop/ssh-remote-sessions#managed-configuration-on-the-remote-host) with Claude Code's [sandbox dependencies](https://code… third-party/claude-desktop/code see the edit
Confirmed since Anthropic's documentation has since written up allowRead, on Configure the sandboxed Bash tool. Claude Code treats `deny` as `error` whenever the read block wouldn't be enforced: when you [disable filesystem isolation](#disable-filesystem-isolation), and when a `filesystem.allowRead` entry re-opens the file's path. sandboxing see the edit
Confirmed since Anthropic's documentation has since written up blockReadsOutsideWorkingDirectories, on Configure the sandboxed Bash tool. * **[`permissions.blockReadsOutsideWorkingDirectories`](/docs/en/settings-reference#permissions-blockreadsoutsideworkingdirectories)**: [Actions no mode auto-approves](/docs/en/permission-modes#actions-no-mode-auto-approves) covers the ret… sandboxing see the edit
Confirmed since Anthropic's documentation has since written up allowWrite, on Configure the sandboxed Bash tool. | Writes | The working directory, a per-user temp directory, and [directories you've added](/docs/en/permissions#additional-directories-grant-file-access-not-configuration). [Protected paths](#protected-paths) stay write-denied | [`filesys… sandboxing see the edit
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 doubtWhether `blockReadsOutsideWorkingDirectories` is on by default is not established.
Anthropic's documentation agreesAnthropic's documentation has since written up allowWrite, on Configure the sandboxed Bash tool.

See this entry in the whole of v2.1.285 →

Feedback