Skip to content

Editing File in read mode (with request approval) does not Work #4892

Closed

Description

@Georgeab9

What version of Codex is running?

codex-cli 0.44.0

Which model were you using?

gpt-codex-high

What platform is your computer?

Darwin 24.6.0 arm64 arm

What steps can reproduce the bug?

  1. Toggle /approval and set to read with request for approval
  2. Ask codex to implement change, it fails to edit
  3. Mention clearly: "YOU CAN ASK FOR EDIT APPROVAL REQUEST so this environemnet is not just readonly !!"
  4. It keeps failing
Image Image

What is the expected behavior?

Codex should ask for edit approval and actually edit the file.

What do you see instead?

Codex doesn't edit the file.

Additional information

This makes codex unusable

Activity

  1. github-actions commented on Oct 7, 2025

    @github-actions
    Contributor

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

    Powered by Codex Action

  2. vmotta8 commented on Oct 8, 2025

    @vmotta8
    Contributor

    I looked into this and found that the "Don't Trust" option wasn't applying the approval policy correctly. Opened a PR to fix it: #4941

  3. dylan-hurd-oai commented on Oct 8, 2025

    @dylan-hurd-oai
    Contributor

    (Note: this comment was generated by Codex.)

    Thank you for reporting this! This seems to match #4940, which covers approval/request flows blocking writes instead of prompting. We’ll consolidate discussion in #4940. If you think this is an incorrect diagnosis, please reply and we’ll re‑evaluate.

  4. added a commit that references this issue on Nov 14, 2025
    89ecc00
  5. added a commit that references this issue on Dec 2, 2025
    2304b33
  6. added a commit that references this issue on Jun 27, 2026
    f62980c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions