Codex CLI can not edit file while VS Code is open (WSL)

Resolved 💬 2 comments Opened May 20, 2025 by supadfr Closed Aug 7, 2025

What version of Codex is running?

0.1.2505172129

Which model were you using?

gpt-4.1-mini

What platform is your computer?

Ubuntu thrue WSL2 (Microsoft Windows NT 10.0.26100.0 x64)

What steps can reproduce the bug?

  • Open VS Code
  • Open the directory thrue WSL in VS Code
  • Start codex
  • Ask for a modification on a file

What is the expected behavior?

The file should be updated

What do you see instead?

Codex can't update the file, the error is "command rejected by auto-approval system"

Additional information

_No response_

View original on GitHub ↗

2 Comments

songsong0527 · 1 year ago

+1

codex-maintainers · 1 year ago

Thanks for the feedback! Please try the latest version of Codex CLI, as we're primarily focusing on the native/Rust implementation. If the issue persists, let us know.