[BUG] Claude Code desktop ignores permission configurations for WSL projects, requiring approval for every file operation despite proper settings
Status Closed — not planned
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
Activity 13 comments · opened Mar 21, 2026 · closed May 26, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Issue: Claude Code desktop ignores permission configurations for WSL projects, requiring approval for every file operation despite proper settings
Details tested:
- .claude/settings.local.json with bypass permissions mode doesn't work
- Specific WSL path permissions (//wsl.localhost/Ubuntu/home/nykwil/**) ignored
- Desktop app settings file at C:\Users\admin\AppData\Local\ClaudeCodeExtension\claudecode-settings.json only contains UI preferences
- Both simplified and detailed permission configurations fail
- Issue affects Windows/WSL development workflows
Impact: Makes WSL development frustrating since every command requires manual approval
What Should Happen?
Permissions settings should be loaded on wsl projects
Error Messages/Logs
Steps to Reproduce
Open a project on a the wsl drive. Enable bypass permissions, do something that requires file read or write, allow prompt shows up.
Claude Model
Opus
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
Version 1.1.7714 (3bd6f6)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
Claude Desktop for windows
13 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
I run Claude Code on WSL2 daily and can share what works:
Root cause: Claude Desktop on Windows accesses WSL paths via
\\wsl$\mount. The permission system likely doesn't resolve WSL paths correctly, so glob patterns in settings.json never match.Workaround — use CLI instead of Desktop:
The CLI version runs natively in WSL and resolves paths correctly. Permission settings in
~/.claude/settings.json(WSL-side) work as expected.If you need Desktop specifically, try setting permissions with the Windows-style path:
Note the
//wsl$/prefix — this is how Windows sees WSL paths. Your distro name may differ (Ubuntu,Debian, etc.).Alternative — PreToolUse hook auto-approve:
This auto-approves file operations on standard WSL paths regardless of how Desktop resolves them.
This bug is specifically about Claude code desktop, there are reasons to
use Claude code desktop over the cli.
On Sat, Mar 21, 2026, 12:40 p.m. ゆる草 @.***> wrote:
Similar reported bug - https://github.com/anthropics/claude-code/issues/11380#issuecomment-4104350262
Seems to be recent as of the last week or so.
Same issue happening here for me. I'm getting prompted every 5-10 seconds to approve an edit or write, even with permissions wide open.
How can this still be open and not assigned!? Claude on Windows Desktop with WSL unusable now since 3 days. It doesn't even recognize "allow for this session" acceptances. This needs to be fixed ASAP! @bcherny
+1 Please fix ASAP !
This is just silly. There are features that the CLI does not support (chrome extension integration to name one right off the top of my head).
Saying "Don't use Claude Desktop" isn't a solution to the legitimate problem posed here; it's a work-around at best.
+1 worked fine for weeks and one day it stopped working and I need to confirm every permissions
Claude for Windows - Claude 1.1617.0 (8d6345) 2026-04-09T16:10:15.000Z
same
Model: Sonet 4.6 / Opus 4.6
I have the same problem and requiring CTRL + Enter just made it worse, got so ridiculous I have to put 2 objects on top of my keyboard to keep CTRL + Enter pressed so that I don't get 100 prompts despite having "Auto mode" or "Bypass" turned on.
It says this:
"Claude requested permissions to write to \\EXAMPLENETWORKDRIVE\frontend\src\pages\documents\pasteCleanup.ts, which contains a suspicious Windows path pattern that requires manual approval."
Ah also the option to Always Allow does not show up, I can only Allow Once. It's for File Edit permissions.
Some more context, my project folder is on a network drive so I would expect that ALL CHANGES inside the project folder would be automatically accapted. I could understand if it was outside the project folder but inside makes no sense.
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.