"Operation not allowed" on "git status" despite max /approvals
Resolved 💬 3 comments Opened Dec 16, 2025 by marcfawzi Closed Jan 6, 2026
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_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗