Skip to content

Codex not honoring yolo #9579

Closed
Closed

Description

@waynchi

What version of Codex is running?

0.87.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.1-codex-max

What platform is your computer?

Darwin 23.4.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

wezterm

What issue are you seeing?

I run:

codex exec --yolo -s workspace-write -C ./ testing

I get

Not inside a trusted directory and --skip-git-repo-check was not specified.

Same situation occurs with `--dangerously-bypass-approvals-and-sandbox"

Past issues:
#9144
#7522

What steps can reproduce the bug?

I run:

codex exec --yolo -s workspace-write -C ./ testing

I get

Not inside a trusted directory and --skip-git-repo-check was not specified.

Same situation occurs with `--dangerously-bypass-approvals-and-sandbox"

Past issues:
#9144
#7522

What is the expected behavior?

No response

Additional information

No response

Activity

  1. swordfish444 commented on Jan 25, 2026

    @swordfish444
    Contributor

    @etraut-openai This looks like it’s already fixed by #9590 (merged 2026-01-23): “skip git repo check when --yolo flag is used” (and it closed #7522).

    Suggestion: mark #9579 as duplicate/resolved and ask the reporter to upgrade to a release that includes #9590.

  2. etraut-openai commented on Jan 25, 2026

    @etraut-openai
    Contributor

    @waynchi, as @swordfish444 notes above, I think the latest version of Codex addresses this issue. I'm going to close. Please give it a try. If you're still seeing a problem, please use the /feedback slash command to upload your session details and open a new issue.

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 workingsandboxIssues related to permissions or sandboxing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions