Skip to content

File search fails in readonly mode #5137

@tylerlaprade

Description

@tylerlaprade

What version of Codex is running?

0.46.0

Which model were you using?

gpt-5-thinking-high

What platform is your computer?

MacOS

What steps can reproduce the bug?

Start in readonly mode and ask it to look at a specific file without giving the exact path

What is the expected behavior?

It should find the file

What do you see instead?

• Ran zsh -lc 'rg "ColumMapperTableHeaderCell"'
  └ failed in sandbox: /opt/homebrew/Library/
    Homebrew/brew.sh: line 60: cannot create
    temp file for here document: Operation not
    permitted
    /opt/homebrew/Library/Homebrew/cmd/
    shellenv.sh: line 18: /bin/ps: Operation not
    permitted

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtool-callsIssues related to tool calling

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions