You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex keeps asking for permissions after pressing 'Yes, and don't ask again for this command' #6395
Ubuntu 20.04 - Linux 5.4.0-215-generic x86_64 x86_64
What issue are you seeing?
While inspecting files and folders it will run commands like
rg .....
rg ... | sed -n
And generally commands that will limit the output to a few lines
When it asks for permissions for those for lines 10-24 for example,
I select option 2. Yes, and don't ask again for this command
However as soon as the line number changes to for example 50-65 it will repeatedly ask for permissions for just switching the params.
Moreover these are read-only commands so they have no detriment, they should have been proceeded without permission requiremtns at all.
What steps can reproduce the bug?
It usually happens to me if I have a problematic linux service that wont' start and I ask the model to investigate the root cause. It has to go through many system files and journalctl and do paging to gather data from logs.
What is the expected behavior?
After I press 2 it should identify the nature of the commands e.g. is it only chunking a file's contents? is it read only ? And respect the decision and not repeatedly ask for new permissions
Additional information
No response
Reacted by Andrés Zsögön, notargs, ginstrom, Keaton Kraiger, Umar Butler and benjaminalley
Clsoed 3 months ago but the issue clearly persists... Today I had to approve permission for running the same command with different variation 3 dozen times in the same answer... but yes, just close the issue, who cares for the paying customer's time anyway?
Reacted by mlennox22, Florian, Brayden Zhang, André Almeida, Chukwuma Okere, Alexander Tesfamichael, Jehmiah Pittman, Ethan Guest, Fabi08, Catherine Ye and 23 more
So while it's not the best, if you give a solid prompt instruction, I marked permissions as Full Permission. It fixed that issue. Also you can ask your Codex Agent not to use shell commands and to edit files directly instead of going through shell. That also helps.
Activity
github-actions commentedon Nov 8, 2025
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
ioweb-gr commentedon Nov 8, 2025
Similar to #5491 and #5199 so closing
andreszs commentedon Jan 29, 2026
Clsoed 3 months ago but the issue clearly persists... Today I had to approve permission for running the same command with different variation 3 dozen times in the same answer... but yes, just close the issue, who cares for the paying customer's time anyway?
Daeveren commentedon Feb 7, 2026
Same issue here (on Windows), this is an issue that persists since several months and it's extremely annoying.
khorsek commentedon Mar 5, 2026
Still happening lol
angelrenedo commentedon Mar 10, 2026
It's happening to me too. All the time asking for permission, repyling with grant access and seconds after asking again to edit the same file
zak-ken commentedon Mar 18, 2026
Been experiencing the same issue.
deedeedev commentedon Mar 18, 2026
I'm experiencing the same issue right now
ktynski commentedon Mar 19, 2026
Makes the product nearly unusable tbh. Moving back to Claude. Wish Openai gave a shit.
YodaheaD commentedon Mar 19, 2026
Happening for me, super annoying when making large changes.
go-sudo commentedon Mar 23, 2026
Happening for me, super annoying when making large changes.
1 remaining item
rickyelqasem commentedon Apr 5, 2026
yup its annoying.
OGMAvision commentedon Apr 10, 2026
Still happening. Any fix?
airlined commentedon Apr 12, 2026
still the same...
danim-hub commentedon Apr 13, 2026
cannot go to sleep, otherwise codex will get stuck
albertocubeddu commentedon Apr 14, 2026
sama sama
Drymarti commentedon Apr 14, 2026
So while it's not the best, if you give a solid prompt instruction, I marked permissions as Full Permission. It fixed that issue. Also you can ask your Codex Agent not to use shell commands and to edit files directly instead of going through shell. That also helps.
aabmar commentedon Apr 19, 2026
Still a problem. It's a bit annoying having to sit watch it work.
douglasware commentedon Apr 21, 2026
Still a defect. This is the best argument against using Codex I know of. The people at Cursor appreciate you.
nitindatta commentedon Apr 26, 2026
Still a problem
chadtuchek commentedon Apr 29, 2026
Still a problem for me as well
hydra1983 commentedon May 1, 2026
Still a problem +1
JKDos commentedon May 1, 2026
Same problem. I lose so much time because of this popping up a dozen times
Ciriak commentedon May 4, 2026
Still an issue, "Yes and don't ask again.." just doesn't seem to work.
This make Codex barely usable now
ZACHHTER commentedon May 10, 2026
This hasn't been fixed by OpenAI since more than half a year?