Skip to content

The exec --yolo mode cannot run rm -rf. #10048

Closed as duplicate
Closed as duplicate

Description

@gaoconggit

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?

Image

/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

Activity

  1. github-actions commented on Jan 28, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  2. etraut-openai commented on Jan 28, 2026

    @etraut-openai
    Contributor

    This is already being tracked in #5128.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions