No action in full approvals mode

Resolved 💬 4 comments Opened Oct 24, 2025 by brianthompson-sarcat Closed Jan 10, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.48.0

What subscription do you have?

pro

Which model were you using?

gpt-5 high

What platform is your computer?

Linux 6.1.0-40-cloud-arm64 aarch64 unknown debia. bookworm

What issue are you seeing?

despite having full permissions and approvals, it wont run a script with sudo in it or prefix a script with sudo

What steps can reproduce the bug?

shell script with sudo

What is the expected behavior?

codex runs the shells script

Additional information

47 and all previous versions had no issue

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 10 months ago

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

  • #5084
  • #5128
  • #3922
  • #4351
  • #5349

Powered by Codex Action

etraut-openai contributor · 10 months ago

I think this is a duplicate of #4351. If you agree, let's close this one and use the other to track this. Please feel free to upvote the original.

brianthompson-sarcat · 10 months ago
I think this is a duplicate of #4351. If you agree, let's close this one and use the other to track this. Please feel free to upvote the original.

A few things,

1 this is Linux Debian, your bit mistagged it.

2 this eventually worked itself out and I cannot reproduce it. It's almost as if resuming a session that was full approval before setting full approval and then running one inference in that session permanently overrode current and future settings.

It was overcome through prompts, but explicit and granular to get it over the "I can't do that" perspective.

Very odd. Had not seen this before.

Even in regressing to 47/46, the behavior persisted.

But only when o flipped session permission approval in 48.

Odd

etraut-openai contributor · 7 months ago

Closing old issue.