7 pages for permissions.additionaldirectories.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
CLI reference
Claude Code CLI · in the page
cli-reference
…`\\server\share`. To persist these directories across sessions, set [`permissions.additionalDirectories`](/docs/en/settings-reference#permissions-additionaldirectories) in settings…
Configure permissions
Claude Code CLI · in the page
permissions
…rectories the Agent SDK adds through the flag. Directories listed in `permissions.additionalDirectories` in a settings file grant file access only and don't load any of the configuration below. The A…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…rant-file-access-not-configuration) with `--add-dir`, `/add-dir`, or `permissions.additionalDirectories`. The first time a command needs a new network domain, Claude Code prompts for approval; in [au…
All settings
Claude Code CLI · in the page
settings-reference
…(/docs/en/permission-modes.md) | Permission settings | Any file | | [`permissions.additionalDirectories`](#permissions-additionaldirectories) | Give Claude file access to [directories outside the curr…
Extend Claude with skills
Claude Code CLI · in the page
skills
…n load the same way, because the SDK passes them as `--add-dir`. The `permissions.additionalDirectories` setting in `settings.json` grants file access only and loads none of these. Claude Code watche…
Code in Claude Desktop on 3P
Claude Documentation · in the page
third-party/claude-desktop/code
…home folder, with `sandbox.filesystem.allowRead` (shell commands) or `permissions.additionalDirectories` (file tools and shell commands) in their own Claude Code settings, while a settings file tracke…
Configuration reference
Claude Documentation · in the page
third-party/claude-desktop/configuration
…heir own Claude Code settings with `sandbox.filesystem.allowRead` or `permissions.additionalDirectories`; settings files tracked in a git repository cannot. The key travels on Claude Code's managed-se…