Skip to content

Ignore ripgrep configuration when expanding sandbox deny globs - #51527

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/06a6e27e0edec92e79e99af5144b57f86079953f
Oct 7, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/06a6e27e0edec92e79e99af5144b57f86079953f

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Ignore ripgrep configuration when expanding sandbox deny globs

Why

User ripgrep configuration can suppress the file list used to construct Linux sandbox deny masks. For example, --quiet in RIPGREP_CONFIG_PATH can leave files matching deny globs unmasked.

What changed

Pass --no-config to the ripgrep invocation that expands denied-file globs.

Testing

Extend the multiple-denied-files regression test with a ripgrep configuration containing --quiet, checking that denied files remain unreadable and unwritable while allowed files remain accessible. Skip the ripgrep-specific case when no protected rg executable is available.

## Why

User ripgrep configuration can suppress the file list used to construct Linux sandbox deny masks. For example, `--quiet` in `RIPGREP_CONFIG_PATH` can leave files matching deny globs unmasked.

## What changed

Pass `--no-config` to the ripgrep invocation that expands denied-file globs.

## Testing

Extend the multiple-denied-files regression test with a ripgrep configuration containing `--quiet`, checking that denied files remain unreadable and unwritable while allowed files remain accessible. Skip the ripgrep-specific case when no protected `rg` executable is available.

GitOrigin-RevId: 06a6e27e0edec92e79e99af5144b57f86079953f
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/06a6e27e0edec92e79e99af5144b57f86079953f branch from 90138a6 to ac9b5b8 Compare October 7, 2026 00:51
@copyberry
copyberry Bot merged commit ac9b5b8 into main Oct 7, 2026
1 check passed
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-07T00:51:37.466641Z 90138a6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/06a6e27e0edec92e79e99af5144b57f86079953f branch October 7, 2026 00:51
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 7, 2026
@mdruy
mdruy deployed to issue-triage October 7, 2026 00:56 — with GitHub Actions Active
@mdruy
mdruy deployed to issue-triage October 7, 2026 00:56 — with GitHub Actions Active
@mdruy
mdruy deployed to issue-triage October 7, 2026 00:56 — with GitHub Actions Active
@aliq99
aliq99 deployed to issue-triage October 7, 2026 00:59 — with GitHub Actions Active
@aliq99
aliq99 deployed to issue-triage October 7, 2026 00:59 — with GitHub Actions Active
@aliq99
aliq99 deployed to issue-triage October 7, 2026 00:59 — with GitHub Actions Active
@awarnke0105
awarnke0105 deployed to issue-triage October 7, 2026 00:59 — with GitHub Actions Active
@awarnke0105
awarnke0105 deployed to issue-triage October 7, 2026 00:59 — with GitHub Actions Active
@awarnke0105
awarnke0105 deployed to issue-triage October 7, 2026 00:59 — with GitHub Actions Active
@aliq99
aliq99 deployed to issue-triage October 7, 2026 01:00 — with GitHub Actions Active
@RealAmethyst
RealAmethyst deployed to issue-triage October 7, 2026 01:01 — with GitHub Actions Active
@RealAmethyst
RealAmethyst deployed to issue-triage October 7, 2026 01:01 — with GitHub Actions Active
@RealAmethyst
RealAmethyst deployed to issue-triage October 7, 2026 01:01 — with GitHub Actions Active
@Clausinho
Clausinho deployed to issue-triage October 7, 2026 01:02 — with GitHub Actions Active
@Clausinho
Clausinho deployed to issue-triage October 7, 2026 01:02 — with GitHub Actions Active
@Clausinho
Clausinho deployed to issue-triage October 7, 2026 01:02 — with GitHub Actions Active
@RealAmethyst
RealAmethyst deployed to issue-triage October 7, 2026 01:02 — with GitHub Actions Active
@Clausinho
Clausinho deployed to issue-triage October 7, 2026 01:03 — with GitHub Actions Active
@BryanYue
BryanYue deployed to issue-triage October 7, 2026 01:03 — with GitHub Actions Active
@BryanYue
BryanYue deployed to issue-triage October 7, 2026 01:03 — with GitHub Actions Active
@BryanYue
BryanYue deployed to issue-triage October 7, 2026 01:03 — with GitHub Actions Active
@tmo1117
tmo1117 deployed to issue-triage October 7, 2026 01:07 — with GitHub Actions Active
@tmo1117
tmo1117 deployed to issue-triage October 7, 2026 01:07 — with GitHub Actions Active
@tmo1117
tmo1117 deployed to issue-triage October 7, 2026 01:07 — with GitHub Actions Active
@tmo1117
tmo1117 deployed to issue-triage October 7, 2026 01:08 — with GitHub Actions Active
@kirisue
kirisue deployed to issue-triage October 7, 2026 01:27 — with GitHub Actions Active
@kirisue
kirisue deployed to issue-triage October 7, 2026 01:27 — with GitHub Actions Active
@kirisue
kirisue deployed to issue-triage October 7, 2026 01:27 — with GitHub Actions Active
@kirisue
kirisue deployed to issue-triage October 7, 2026 01:27 — with GitHub Actions Active
@kirisue
kirisue deployed to issue-triage October 7, 2026 01:27 — with GitHub Actions Active
@kirisue
kirisue deployed to issue-triage October 7, 2026 01:27 — with GitHub Actions Active
@kirisue
kirisue deployed to issue-triage October 7, 2026 01:28 — with GitHub Actions Active
@kirisue
kirisue deployed to issue-triage October 7, 2026 01:29 — with GitHub Actions Active
@ivg-design
ivg-design deployed to issue-triage October 7, 2026 01:29 — with GitHub Actions Active
@ivg-design
ivg-design deployed to issue-triage October 7, 2026 01:29 — with GitHub Actions Active
@ivg-design
ivg-design deployed to issue-triage October 7, 2026 01:29 — with GitHub Actions Active
@ivg-design
ivg-design deployed to issue-triage October 7, 2026 01:30 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.