Unclear It is not stated which setting fills the allowWithinDeny list, so it is unclear how to use it.
What
The sandbox limits which files commands run by Claude can read or write. It now supports allowWithinDeny, a list of paths that stay allowed even though they sit inside a denied area.
- Linux enforcement: on Linux and WSL, the sandbox keeps each
allowWithinDenypath writable inside a folder whose writing is denied. Before, a write deny made everything beneath it read-only. If an entry cannot be kept writable, a message is logged. - Violation reports: the Linux monitor that reports sandbox breaches no longer flags writes to a path covered by an
allowWithinDenyentry. - Permission dialog: a new dim line, "Allowed within denied:", lists these paths next to the existing deny-within-allow list.
- Commit secrets prompt: the Bash prompt that warns about committing secrets now lists
.claude/settings.local.json.
Why
You can block writes to a whole folder while keeping one narrow path inside it writable. The dialog shows these exceptions so you can check what the sandbox actually permits.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not stated which setting fills the `allowWithinDeny` list, so it is unclear how to use it.