claude-code-settings: add `permissions.blockReadsOutsideWorkingDirectories`
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 88/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- json
- Domain
- tooling
Research direction
Start at the Claude Code settings schema's permissions.properties entry and compare its existing keys with the upstream settings reference linked in the issue. Verify the new boolean is accepted by the schema and that editors no longer report it as an invalid property; the issue is complete when the schema reflects Claude Code v2.1.257 or later.
Written by the indexing model from the issue text.
Description
Claude Code v2.1.257 added a boolean setting, permissions.blockReadsOutsideWorkingDirectories:
- Reference: https://code.claude.com/docs/en/settings-reference#permissions-blockreadsoutsideworkingdirectories
- The same page lists it among the keys of the
permissionsobject, next toallow,ask,denyandadditionalDirectories.
When it's true, Claude's file tools refuse reads outside the working directories in every permission mode. With the sandbox on, sandboxed commands also lose read access to the home folder outside them. Claude Code writes the key itself when you choose to block such reads on auto mode's prompt.
The schema's permissions object doesn't list it, so editors report Property blockReadsOutsideWorkingDirectories is not allowed.
It's missing on master, and none of the open Claude Code PRs add it. #6273 syncs to v2.1.251, which predates the setting.
Suggested entry under permissions.properties:
"blockReadsOutsideWorkingDirectories": {
"type": "boolean",
"description": "Stop Claude from reading paths outside the session's working directories with its file tools, in every permission mode. Requires Claude Code v2.1.257 or later."
}
- Dominant language
- JavaScript
- Stars
- 3.9k
- Forks
- 2.4k
- Avg merge
- 12h 34m
- Merged PRs (30d)
- 134
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SchemaStore/schemastore
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
SchemaStore/schemastore#6712 ·
Maintainers usually reply within 1 day
-
claude-code-settings: serverName pattern rejects the documented plugin: and claude.ai connector namesPossibly taken @PandaHUN777 claimed this 53 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100
SchemaStore/schemastore#6430 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
SchemaStore/schemastore#6351 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
SchemaStore/schemastore#6019 · 4 comments ·
Maintainers usually reply within 1 day
-
claude-code-settings.json: Missing MultiEdit and Skill tools in permissions patternMay be free again A pull request for this issue was closed without being merged. OpenBug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
SchemaStore/schemastore#5210 ·
Maintainers usually reply within 1 day
All issues in SchemaStore/schemastore
Similar issues
-
marketing
Difficulty 2/5 Half a day Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Fei2411/DeepSeek-Bot#2090 ·
-
area: ui good first issue javascript priority: medium refactor
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fukubie/StockLlama#49 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
sunososobro-hub/cloudball#350 · 2 comments ·
Maintainers usually reply within 1 day
-
wpvc
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
10up/embed-block-figma#101 ·