{"version":"2.1.333","anchor":"wsl-wslpath-absolute-path-lookup-behind-a-bot-protected-gate","canonical_anchor":"wsl-wslpath-absolute-path-lookup-behind-a-bot-protected-gate","heading":"On WSL, Claude Code looks up wslpath at fixed system locations","tier":"notice","area":"Windows","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/wsl-wslpath-absolute-path-lookup-behind-a-bot-protected-gate","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### On WSL, Claude Code looks up wslpath at fixed system locations\n\nOn WSL, Claude Code now runs wslpath from \/usr\/bin\/wslpath or \/bin\/wslpath instead of whichever copy it finds first by name\n\n**What**\n\nOn WSL (Windows Subsystem for Linux, which runs Linux inside Windows), Claude Code uses a helper program called `wslpath` to convert file paths between Windows and Linux forms. It now looks for it at `\/usr\/bin\/wslpath` first and then `\/bin\/wslpath`, instead of running whichever program called `wslpath` it finds first.\n\nClaude Code also reads `\/proc\/self\/mountinfo`, a system file listing mounted drives, but only when a remotely controlled setting allows it.\n\n**Why**\n\nRunning `wslpath` from fixed system locations makes it harder for a fake program with the same name, placed somewhere else on your system, to be run in its place.\n\n- Area: Windows\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}