⌨️sandbox.filesystem.denyWrite
Also known as denyWrite
A list of paths sandboxed commands may never write to.
Think of it like
It is like a do not touch sign on one shelf in your room.
Example
Jack wants Claude to never touch the deploy keys folder in his repo. He adds it to denyWrite, and writes there fail.
Why it matters
It guards one folder in a place that is open.
Definition
Example code
json
{
"sandbox": {
"filesystem": {
"denyWrite": ["/etc", "/usr/local/bin"]
}
}
}Common mistake
Key takeaways
- 1Never write here. Listed paths.
- 2Beats allowed areas. Even the project.
- 3Lists join. Plus Edit denies.