-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What version of Codex is running?
v0.45.0
Which model were you using?
gpt-5-codex
What platform is your computer?
Darwin 23.6.0 arm64
What steps can reproduce the bug?
- Start Codex in a directory
- When the trust directory prompt appears, select option 2: "No, ask me to approve edits and commands"
- Ask Codex to make any file edit, for example: "Update the README.md and add a Hello below the title"
What is the expected behavior?
Codex should ask for approval before making the edit, then proceed with the operation after I approve it.
What do you see instead?
Codex refuses to perform any write operations, saying it's in a "read-only workspace":
• I'm currently in a read-only workspace, so I can't modify README.md.
If you switch me to a writable mode (or apply the change yourself),
I'll be happy to add the "Hello" right under the title.

Additional information
This might be related to #2005, which also involved approval prompts and sandbox behavior.
The "Don't Trust" option should enable approval mode, not block all operations entirely.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working