codex - 💡(How to fix) Fix Persisting approvals for file edits does not work [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17668Fetched 2026-04-14 05:41:29
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×1
RAW_BUFFERClick to expand / collapse

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.

extent analysis

TL;DR

The issue can be potentially resolved by implementing a new permission handling system, similar to Claude Code's, which allows for more granular control over file edits.

Guidance

  • Investigate the current permission handling system in Codex CLI to understand why the "don't ask for permission to edit this file" option is not working as expected.
  • Consider implementing a directory-level authorization system, where Codex CLI can be authorized to edit files within a specific directory without prompting for permission each time.
  • Explore the possibility of adding hooks for scripts to auto-approve chosen commands, providing more flexibility and automation in the permission handling process.
  • Review the thread uploaded (019d85a5-580d-7751-9225-31275745fff5) for more detailed information on the issue and potential solutions.

Example

No code snippet is provided as the issue does not contain sufficient technical details to create a specific example.

Notes

The issue lacks technical details about the current implementation of the permission handling system in Codex CLI, making it difficult to provide a more specific solution. The suggestion to adopt Claude Code's permission system is based on the user's feedback and may require significant changes to the existing system.

Recommendation

Apply workaround: Implement a new permission handling system, such as directory-level authorization and script hooks, to improve the user experience and provide more granular control over file edits. This is recommended because the current system is causing significant issues for the user and a new approach may be necessary to resolve the problem.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING