MiMo-Code icon indicating copy to clipboard operation
MiMo-Code copied to clipboard

Access denied: target is a protected system directory on Windows with C:\dev\ path

Open riannugraha opened this issue 5 months ago • 1 comments

Description

bun dev C:\dev\test $ bun run --cwd packages/opencode script/dev.ts "C:\dev\test" Performing one time database migration, may take a few minutes... Database migration complete. │ ● Accessing workspace: │ │ C:\dev\test │ │ 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. │ │ MiMo Code will be able to read, edit, and execute files here. │ │ If malicious plugins exist in this directory, they can execute arbitrary code, read, modify, or exfiltrate your files. ◇ │ Yes, I trust this folder { "name": "UnknownError", "data": { "message": "Access denied: target is a protected system directory" } }

Plugins

No response

MiMoCode version

v0.1.2

Steps to reproduce

  1. Create or have a project in a path containing \dev\ on Windows (e.g., C:\dev\test)
  2. Run bun dev C:\dev\test
  3. Confirm the trust prompt ("Yes, I trust this folder")
  4. Observe the error: { "name": "UnknownError", "data": { "message": "Access denied: target is a protected system directory" } }

Screenshot and/or share link

Image

Operating System

Windows 11

Terminal

Windows Terminal

riannugraha avatar Jun 24 '26 02:06 riannugraha

thanks! We have solved it in next version

MiMoHardFather avatar Jun 24 '26 03:06 MiMoHardFather