mirror of
https://github.com/openai/codex.git
synced 2026-10-21 17:48:44 +00:00
## Why Linux sandbox unreadable globs without a non-root directory prefix cannot be safely expanded because they would require scanning from `/`. Silently skipping these patterns leaves the requested deny-read rule unenforced. ## What changed Return a fatal sandbox construction error when an unreadable glob cannot be split into a safe ripgrep search root. The error directs callers to use a pattern with a non-root directory prefix. ## Testing Add a regression test confirming that `/**/*.env` rejects Bubblewrap command construction. GitOrigin-RevId: 2f3cb398d39a9bc077d3a1b74e08dc506d239e60