Trust the folder

Resolved 💬 3 comments Opened Mar 5, 2026 by navaneethk4u Closed Mar 9, 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?

On Windows 11, the interactive trust dialog ('Yes, I trust this folder') does not respond to Enter/Space. Selecting 'No, exit' works fine.

Debug log error

Failed to save config with lock: Error: EEXIST: file already exists, mkdir 'C:\Users\navaneethp'

The mkdir call fails because the home directory already exists. This prevents saving the trust config, so 'Yes' appears to hang.

Environment
Windows 11 Enterprise 10.0.22631
Claude Code 2.1.69 (native install)
Affects: CMD, PowerShell 5.1, Git Bash
--dangerously-skip-permissions also shows the trust prompt (does not bypass it)
claude -p works fine (non-interactive)

What Should Happen?

Expected
Selecting 'Yes, I trust this folder' should save the trust config and enter interactive mode."

Error Messages/Logs

Steps to Reproduce

Go to a folder, Use Windows powershell, Type claude,
Following should appear:
Accessing workspace:

C:\Users\navaneethp

Quick safety check: Is this a project you created or one you trust? (Like your own code, a well-known open source project,
or work from your team). If not, take a moment to review what's in this folder first.

Claude Code'll be able to read, edit, and execute files here.

Security guide

  1. Yes, I trust this folder

❯ 2. No, exit

I select Yes, I trust this folder it should work
its not working

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.69

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗