⌨️blockReadsOutsideWorkingDirectories
Also known as blockWritesOutsideWorkingDirectories, permissions.blockReadsOutsideWorkingDirectories
A setting that keeps the file tools in your work folders.
Think of it like
It is like a fence round the yard. It holds even when the gate is open.
Example
Emma runs Claude in auto mode on a work laptop. She turns this on, so even auto mode cannot read her home folder.
Why it matters
Modes like bypassPermissions skip prompts. This fence stays up in all of them.
Definition
Example code
json
{
"permissions": {
"blockReadsOutsideWorkingDirectories": true,
"blockWritesOutsideWorkingDirectories": true
}
}Common mistake
Key takeaways
- 1Every mode. Bypass too.
- 2Reads and writes. Two settings.
- 3File tools only. Sandbox the shell.