Answer: To manage persistent sandbox permissions in Zed, add persistent permissions to your settings file under the "agent" key's "sandbox_permissions" object, using options like network_hosts and write_paths. Prefer narrow grants, such as a specific host or write path, over allow_all_hosts, allow_fs_write_all, or allow_unsandboxed. Status: Overdue (check was due 2026-11-20T13:38:52Z and has not succeeded) Entry: tool/zed/permissions-and-security/persistent-sandbox-permissions Revision: 1 Digest: sha256:8bae3969fdc91a53 (changes whenever the content changes) Timeline: Created: 2026-11-13T13:32:56Z Last changed: 2026-11-13T13:32:56Z Last verified: 2026-11-19T13:38:52Z Next check: 2026-11-20T13:38:52Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of settings key | sandbox_permissions | [1] | 2026-11-19 network_hosts example | ["github.com", "*.npmjs.org"] | [1] | 2026-11-19 write_paths example | ["/Users/you/.cache/my-tool"] | [1] | 2026-11-19 network_hosts description | Hosts that sandboxed tools may reach without prompting. Entries can be exact hostnames or leading-`*.` wildcards. | [1] | 2026-11-19 write_paths description | Directory subtrees that sandboxed terminal commands may write to without prompting. Paths are absolute. | [1] | 2026-11-19 allow_all_hosts description | Allow sandboxed tools to reach any host without prompting. | [1] | 2026-11-19 allow_fs_write_all description | Allow sandboxed terminal commands to write anywhere except protected Git metadata without prompting. | [1] | 2026-11-19 allow_unsandboxed description | Turn sandboxing off entirely for Zed Agent terminal commands. The fetch tool will have no restrictions. | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/ai/sandboxing.md". https://zed.dev/docs/ai/sandboxing.md Role: primary. Accessed: 2026-11-19T13:38:52Z Quote: ""sandbox_permissions": {" (Supports: settings key) Quote: ""network_hosts": ["github.com", "*.npmjs.org"]," (Supports: network_hosts example) Quote: ""write_paths": ["/Users/you/.cache/my-tool"]" (Supports: write_paths example) Quote: "Hosts that sandboxed tools may reach without prompting. Entries can be exact hostnames or leading-`*.` wildcards." (Supports: network_hosts description) Quote: "Directory subtrees that sandboxed terminal commands may write to without prompting. Paths are absolute." (Supports: write_paths description) Quote: "Allow sandboxed tools to reach any host without prompting." (Supports: allow_all_hosts description) Quote: "Allow sandboxed terminal commands to write anywhere except protected Git metadata without prompting." (Supports: allow_fs_write_all description) Quote: "Turn sandboxing off entirely for Zed Agent terminal commands. The fetch tool will have no restrictions." (Supports: allow_unsandboxed description) Snapshot SHA-256: 771e95bc57fef9de96a8fb32da65238c8bd09da549879ad3491c7ddbd94e8943 (captured 2026-11-13T04:00:25Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T13:32:56Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:38:52Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:38:52Z Last attempt: 2026-11-19T13:38:52Z Notes and limitations: Extracted automatically from a single official source (section "Persistent Sandbox Permissions {#persistent-sandbox-permissions}"). Human-readable page: https://zed.dev/docs/ai/sandboxing.html Related: https://latestn.com/tool/zed/permissions-and-security/process-exec-capability What does the process:exec capability allow a Zed extension to do? https://latestn.com/tool/zed/permissions-and-security/profiles-vs-tool-permissions What is the difference between Zed agent profiles and tool permissions? https://latestn.com/tool/zed/permissions-and-security/restrict-extension-capabilities How do I restrict which capabilities Zed extensions are granted? https://latestn.com/tool/zed/permissions-and-security/download-file-capability What does the download_file capability allow a Zed extension to do? https://latestn.com/tool/zed/permissions-and-security/invite-manage-channel-members How do I invite people to a Zed channel and manage members? https://latestn.com/tool/zed/permissions-and-security/mcp-tool-permissions How do I configure tool permissions for MCP servers in Zed? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T13:32:56Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/permissions-and-security/persistent-sandbox-permissions/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/zed/permissions-and-security/persistent-sandbox-permissions POST: https://latestn.com/dispute/tool/zed/permissions-and-security/persistent-sandbox-permissions with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/permissions-and-security/persistent-sandbox-permissions?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I manage persistent sandbox permissions in Zed? Revision 1, last verified 2026-11-19T13:38:52Z. https://latestn.com/tool/zed/permissions-and-security/persistent-sandbox-permissions (accessed 2026-11-21T10:03:21Z). @misc{LatestN_tool_zed_permissions_and_security_persistent_sandbox_permissions_r1, title = {How do I manage persistent sandbox permissions in Zed?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/permissions-and-security/persistent-sandbox-permissions}}, note = {Revision 1; digest sha256:8bae3969fdc91a53; last verified 2026-11-19T13:38:52Z; accessed 2026-11-21T10:03:21Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/zed/permissions-and-security/persistent-sandbox-permissions