Bypass permissions mode doesn't apply to UNC network paths in VS Code extension
Resolved 💬 3 comments Opened Mar 27, 2026 by Madelinekallis Closed Mar 31, 2026
Description
When using Claude Code VS Code extension with a project on a UNC network path (e.g., \192.168.1.83\f\xampp\htdocs\nwp), the Bypass permissions mode does not work for Edit/Write operations. Every edit still triggers a "Make this edit to ...?" confirmation prompt.
Steps to Reproduce
- Open a project located on a UNC network path (e.g.,
\192.168.1.83\f\xampp\htdocs\nwp) - Set
permissions.defaultModeto"bypassPermissions"in both:
~/.claude/settings.json(user-level).claude/settings.local.json(project-level)
- Set
skipDangerousModePermissionPrompt: true - Add the UNC path to
permissions.additionalDirectories - Add all tools (
Edit,Write,Read,Bash, etc.) topermissions.allow - Restart the Claude Code panel
- Ask Claude to edit any file
Expected Behavior
Edits should proceed without prompting, as the mode is set to "Bypass permissions."
Actual Behavior
- The status bar initially shows "Bypass permissions" but every Edit tool call still triggers the confirmation dialog ("Make this edit to \...?")
- After accepting the edit, the mode switches back to "Edit automatically"
- This happens regardless of settings configuration
Environment
- OS: Windows 10 Pro 10.0.19045
- Project path: UNC network share (
\192.168.1.83\f\xampp\htdocs\nwp) - Claude Code: VS Code extension (latest)
Settings Used
// ~/.claude/settings.json
{
"permissions": {
"defaultMode": "bypassPermissions",
"additionalDirectories": ["//192.168.1.83/f/xampp/htdocs/nwp"]
},
"skipDangerousModePermissionPrompt": true
}
// .claude/settings.local.json
{
"permissions": {
"defaultMode": "bypassPermissions",
"allow": ["Bash", "Read", "Write", "Edit", "Glob", "Grep", "WebFetch", "WebSearch", "Task", "NotebookEdit"],
"additionalDirectories": ["//192.168.1.83/f/xampp/htdocs/nwp"]
},
"skipDangerousModePermissionPrompt": true
}
🤖 Generated with Claude Code
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗