The `exec --yolo` mode cannot run `rm -rf`.
Resolved 💬 2 comments Opened Jan 28, 2026 by gaoconggit Closed Jan 28, 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.92.0
What subscription do you have?
team
Which model were you using?
gpt-5.2-codex
What platform is your computer?
Linux 4.18.0-147.5.1.6.h998.eulerosv2r9.x86_64 x86_64 x86_64
What terminal emulator and version are you using (if applicable)?
_No response_
What issue are you seeing?
<img width="731" height="605" alt="Image" src="https://github.com/user-attachments/assets/3c7cfb8b-11ba-4b43-85f1-618e9ca46997" />
/bin/bash -lc 'rm -rf /workspace/aiportal.api' rejected: blocked by policy
What steps can reproduce the bug?
Deletion successful
What is the expected behavior?
_No response_
Additional information
_No response_
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
This is already being tracked in #5128.