File search fails in readonly mode

Resolved 💬 2 comments Opened Oct 13, 2025 by tylerlaprade Closed Jan 10, 2026

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_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗