⌨️sandbox.filesystem.allowWrite
Also known as allowWrite
A list of more folders that fenced commands may write to.
Think of it like
It is like giving a child one more room to draw in.
Example
Emma's build writes to /tmp/build and fails in the sandbox. She adds that path to allowWrite, and the build works.
Why it matters
It opens just the one folder a tool needs. The rest of the fence stays up.
Definition
Example code
json
{
"sandbox": {
"filesystem": {
"allowWrite": ["~/.kube", "/tmp/build"]
}
}
}Common mistake
Key takeaways
- 1Extra write paths. Beyond the project.
- 2Default is narrow. Project, temp.
- 3Linux: path must exist. Make it first.