You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex cannot edit file. Claims its read only when its set to Full Access #6428
CLIIssues related to the Codex CLIbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
Whenever I start codex I set to Full Access but everytime it will report back
"Your repo is read‑only here, so below are precise, minimal edits you can apply."
When asked it says "My current session reports sandbox_mode=read-only and rejected my write attempt with “approval policy is Never,”"
Then it proceeds to paste the instructions
What steps can reproduce the bug?
Start Codex and switch approvals to "Full Access" As it to edit a file.
Seeing what looks like the same problem, on a different setup: Windows, Codex CLI 0.142.4, driven through the Codex Claude Code plugin (codex-plugin-cc) rather than the interactive CLI directly.
I ask Codex to write to disk (create a file, delete a folder — nothing unusual, just a normal edit inside my own project directory), and it consistently comes back refusing with a read-only sandbox error, even though I explicitly requested write access. Every time, not intermittent. The error wording lines up closely with what's already reported here.
CLIIssues related to the Codex CLIbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Nov 9, 2025
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
satha-n commentedon Nov 9, 2025
Having the same issue.
etraut-openai commentedon Dec 23, 2025
This bug report is pretty stale and likely no longer relevant. Closing.
belplaton commentedon Dec 29, 2025
but it still happens on 0.77.0. @etraut-openai
config.toml:
model = "gpt-5.2-codex"
model_reasoning_effort = "high"
approval_policy = "never"
sandbox_mode = "workspace-write"
sandbox = "workspace-write"
[projects.'E:\GitHub\TTR24']
trust_level = "trusted"
etraut-openai commentedon Dec 29, 2025
@belplaton, if you're seeing a behavior like this, please file a new bug using the
/feedbackcommand to upload your logs and session data.Marcos-SA-git commentedon Jul 1, 2026
Seeing what looks like the same problem, on a different setup: Windows, Codex CLI 0.142.4, driven through the Codex Claude Code plugin (
codex-plugin-cc) rather than the interactive CLI directly.I ask Codex to write to disk (create a file, delete a folder — nothing unusual, just a normal edit inside my own project directory), and it consistently comes back refusing with a read-only sandbox error, even though I explicitly requested write access. Every time, not intermittent. The error wording lines up closely with what's already reported here.
Happy to share exact repro steps/logs if useful.