Skip to content

Persisting approvals for file edits does not work #17668

Closed

Description

@tonimelisma

What version of Codex CLI is running?

codex-cli 0.120.0

What subscription do you have?

The most expensive one

Which model were you using?

gpt-5.4 xhigh

What platform is your computer?

Linux 6.17.0-14-generic x86_64 unknown

What terminal emulator and version are you using (if applicable)?

No response

What issue are you seeing?

When editing files, I get a permission prompt for each edit even when choosing "yes, and don't ask for this file ever again".

What steps can reproduce the bug?

Uploaded thread: 019d85a5-580d-7751-9225-31275745fff5

What is the expected behavior?

When I choose "don't ask for permission to edit this file", it would not ask permission to edit that file again.

Additional information

The broken permission handling system is making codex unusable for me and I've gone and cancelled my $200/month subscription. Please try adopting Claude Code's permission system (e.g. authorize all edits within directory codex is running, have simple hooks for scripts I can use to auto-approve chosen commands) as is, they've really figured this out. The only reasonable option for codex seems to be to run it with full permissions and that's not feasible for my use cases.

Activity

  1. added
    bug
    on Apr 13, 2026
  2. added
    CLI
    sandbox
    on Apr 13, 2026
  3. github-actions commented on Apr 13, 2026

    @github-actions
    Contributor
  4. bkoropoff commented on Apr 17, 2026

    @bkoropoff

    This is a recent regression in behavior. I think it used to be possible to accept file edits for the session. Now you can only do it on a per-file basis, but it doesn't actually remember the choice. This makes codex completely unusable; I don't understand how this change ever shipped in a paid product.

  5. added
    regression
    and removed
    CLI
    on Apr 17, 2026
  6. viyatb-oai commented on Apr 21, 2026

    @viyatb-oai
    Contributor

    Please try the latest release version 0.122.0 and let me know if you are still facing this!

  7. nikhil-marathe-skydio commented on May 11, 2026

    @nikhil-marathe-skydio

    I'm seeing this same issue on v0.130.0 as well.
    This is on Linux, in a trusted workspace.

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

    bugregressionsandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions