Codex cannot edit file. Claims its read only when its set to Full Access

Resolved 💬 3 comments Opened Dec 29, 2025 by belplaton Closed Dec 29, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.77.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.2-codex

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What issue are you seeing?

<img width="1068" height="362" alt="Image" src="https://github.com/user-attachments/assets/e953ea3f-28c6-432e-859d-509856b2d0be" />

<img width="366" height="344" alt="Image" src="https://github.com/user-attachments/assets/7a6e1d78-ce0c-4b31-a618-3a47aede961f" />

What steps can reproduce the bug?

Start Codex and set sandbox_mode = "workspace-write" (or sandbox = "workspace-write", its changes nothing) and you see, that Codex still read-only

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 8 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #5457
  • #1185
  • #5451
  • #4425

Powered by Codex Action

etraut-openai contributor · 8 months ago

Are you using WSL? If not, do you have the Windows experimental sandbox enabled?

Please use the /feedback slash command to upload your logs and session data, then post the thread ID here.

belplaton · 8 months ago
Are you using WSL? If not, do you have the Windows experimental sandbox enabled?

Thanks! I wasn’t using WSL. Enabling the Windows experimental sandbox (features.experimental_windows_sandbox = true) fixed it — after that --sandbox workspace-write stopped falling back to read-only. Appreciate the pointer.

<img width="365" height="345" alt="Image" src="https://github.com/user-attachments/assets/71413559-aed6-444e-80b3-75241e75fd23" />