7 pages for denywrite.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…boxed commands from writing to a file, list its absolute path under [`denyWrite`](https://code.claude.com/docs/en/settings-reference#sandbox-filesystem-denywrite) in your sandbox settings, such as `"f…
Claude Code changelog
Claude Code CLI · in the page
changelog
…files outside the sandbox before each command * Fixed macOS sandbox `denyWrite` glob patterns not applying at a path's real location when the pattern's folder is reached through a symlink * Fixed san…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…til you fix the deny list. * While `filesystem.denyRead`, `filesystem.denyWrite`, or any entry in either is invalid, Claude Code also withholds both `filesystem.allowRead` and `filesystem.allowWrite`…
Choose a sandbox environment
Claude Code CLI · in the page
sandbox-environments
…locks the highest-risk writes without any configuration from you: * `denyWrite` takes precedence over `allowWrite`. * At the project root, the runtime denies `.git/hooks`, denies `.git/config` unless…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…cs/en/settings-reference#sandbox-filesystem-allowwrite), [`filesystem.denyWrite`](https://code.claude.com/docs/en/settings-reference#sandbox-filesystem-denywrite) | | Reads | Most of the machine, incl…
Claude Code settings
Claude Code CLI · in the page
settings
…e"]` | | `filesystem.denyWrite` | Paths where sandboxed commands cannot write. Arrays are merged across all settings scopes. Also mer…
All settings
Claude Code CLI · in the page
settings-reference
…specific paths | Sandbox settings | Any file | | [`sandbox.filesystem.denyWrite`](#sandbox-filesystem-denywrite) | Block [sandboxed](https://code.claude.com/docs/en/sandboxing.md) commands from writin…