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 andallowReadpaths 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
blockReadsOutsideWorkingDirectorieson, repo-committedallowReadandallowWritegrants 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.
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.
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
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
* **[`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
| 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
Whether `blockReadsOutsideWorkingDirectories` is on by default is not established.
Anthropic's documentation has since written up allowWrite, on Configure the sandboxed Bash tool.