"Operation not allowed" on "git status" despite max /approvals

Resolved 💬 3 comments Opened Dec 16, 2025 by marcfawzi Closed Jan 6, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.72

What subscription do you have?

Pro

Which model were you using?

gpt-5.1/5.2

What platform is your computer?

MacOS

What issue are you seeing?

Codex tries to run git commands like git status and gets "Operation not permitted" after /approvals is set to max allowed

What steps can reproduce the bug?

invoke /review after settig approvals to max allowed via /approvals and pick review uncommitted changes -> codex tries to use git and gets "Operation not allowed" error

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 8 months ago

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

  • #8104

Powered by Codex Action

sayan-oai contributor · 7 months ago

Hey @marcfawzi, is this issue the same as #7815? If so, it should have been addressed. If you are still seeing issues, please elaborate and share the thread-id of the conversation where you are seeing the issue via the /feedback command. Thanks.

sayan-oai contributor · 7 months ago

Closing as duplicate. Happy to reopen if you confirm it's a separate issue.