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_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗