Skip to content

[BUG] Claude on native Windows repeatedly asks to trust folder #3366

Description

@vuhoanglam

Environment

  • Platform (select one):
    • Anthropic API
    • AWS Bedrock
    • Google Vertex AI
    • Other: Claude on Windows (local installation)
  • Claude CLI version: .51
  • Operating System: Windows 11
  • Terminal: Windows Terminal, PowerShell, CMD

Bug Description

Claude on Windows repeatedly asks "Do you trust the files in this folder?" for the same directory every time it's accessed or a command is run, even after the user has previously selected "Yes, proceed." This behavior is unexpected, as it should only prompt for trust the first time a new folder is encountered.


Steps to Reproduce

  1. Open a terminal (e.g., Windows Terminal, PowerShell).
  2. Navigate to a project folder (e.g., D:\Frontend\admin).
  3. Execute a Claude command or interaction that requires file access within this folder.
  4. Select "1. Yes, proceed" when prompted "Do you trust the files in this folder?".
  5. Close the terminal or end the Claude session.
  6. Re-open the terminal and navigate back to the same project folder.
  7. Execute another Claude command or interaction.

Expected Behavior

After initially selecting "Yes, proceed" for a specific folder, Claude should remember this trust setting and not prompt again for the same folder in subsequent sessions or interactions.


Actual Behavior

Claude repeatedly prompts "Do you trust the files in this folder?" every time the application is used in or accesses the previously trusted folder, even though the user has already granted permission.


Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions