codex icon indicating copy to clipboard operation
codex copied to clipboard

No action in full approvals mode

Open brianthompson-sarcat opened this issue 1 year ago • 4 comments

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

brianthompson-sarcat avatar Oct 24 '25 12:10 brianthompson-sarcat

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

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

Powered by Codex Action

github-actions[bot] avatar Oct 24 '25 12:10 github-actions[bot]

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.

etraut-openai avatar Oct 24 '25 16:10 etraut-openai

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

brianthompson-sarcat avatar Oct 24 '25 16:10 brianthompson-sarcat

Closing old issue.

etraut-openai avatar Jan 10 '26 03:01 etraut-openai