Claude Code's file tools can refuse edits outside your working directories

A new setting makes Write, Edit, and NotebookEdit refuse paths outside your working directories, in every permission mode.

Prodotto
Claude Code
Condividi

Claude Code's Write, Edit, and NotebookEdit tools can now refuse paths outside your working directories, in every permission mode. Set permissions.blockWritesOutsideWorkingDirectories and those three tools stay inside the project. Shell commands, MCP tools, and hooks aren't covered. Use sandboxing to limit where shell commands write.

Reads already have a matching setting. You'll need Claude Code 2.1.314 or later, and an organization can deploy it in managed settings.

Aggiornamenti precedenti

30 ott 2026
29 ott 2026
28 ott 2026
Tutti gli aggiornamenti