codex - 💡(How to fix) Fix No more writes to sibling repos using Full Access policy [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#19346Fetched 2026-04-25 06:11:08
View on GitHub
Comments
2
Participants
2
Timeline
10
Reactions
0
Author
Timeline (top)
labeled ×4cross-referenced ×3commented ×2closed ×1

Root Cause

I also updated <redacted>:1. I could not update sibling docs under <redacted> in this session because that repo is outside the writable root.

Fix Action

Fix / Workaround

If you reopen the task with <redacted> added to writable roots, I can patch the sibling docs directly.

RAW_BUFFERClick to expand / collapse

What version of Codex CLI is running?

0.124.0

What subscription do you have?

Pro Lite

Which model were you using?

gpt-5.4

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

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

JetBrains-JediTerm (powershell)

What issue are you seeing?

Set /permissions with Full Access, but...

I also updated <redacted>:1. I could not update sibling docs under <redacted> in this session because that repo is outside the writable root.

› but i have you full access permissions

• In this session, I don’t.

Your local intent may be “full access”, but the active sandbox I’m running under is still restricted to:

  • <redacted>
  • C:\Users\ffeli.codex\memories

So I can read <redacted>, but I can’t write there from this session. The current policy also says no escalation requests.

If you reopen the task with <redacted> added to writable roots, I can patch the sibling docs directly.

› How to add it to writable roots?

• That is controlled by the Codex runner, not by code in this repo.

You need the session to start with <redacted> in writable_roots or with a less restrictive sandbox.

Practically, one of these needs to happen:

  • start a new Codex session from a parent workspace that includes both repos
  • configure the runner/session so <redacted> is added as an extra writable root
  • run Codex with a broader sandbox mode that allows writing there

You can verify it from the environment banner at session start. Right now it shows only:

  • C:\Users\ffeli.codex\memories
  • <redacted>

If you relaunch with the sibling docs path included, I can edit those docs directly.

(restarted codex) › and now?

• Now I can, but not automatically.

What changed:

  • writable roots are still only this repo plus .codex\memories
  • but I’m now allowed to request escalated commands for writes outside those roots

So if you want me to update <redacted> now, I can do it by requesting approval for the needed file-edit commands. • Permissions updated to Full Access

› do it .................. • I can read the sibling docs, but writes there are still blocked in this session because the sandbox was switched back to approval_policy=never. I’m writing the exact external-doc follow-up into this repo so nothing is lost and you can apply it from a session that has that repo writable.

What steps can reproduce the bug?

Set permissions to Full Access, ask Codex to write docs to sibling repo and specify the path

What is the expected behavior?

Writing to sibling repo is allowed.

Additional information

Thread ID 019db99f-5124-7090-b63b-83515edfca46

extent analysis

TL;DR

To fix the issue, restart the Codex session with the sibling repository's path included in the writable roots or configure the runner to allow writing to that location.

Guidance

  • The issue is caused by the Codex session's sandbox being restricted to specific writable roots, which does not include the sibling repository's path.
  • To resolve this, start a new Codex session from a parent workspace that includes both repositories or configure the runner to add the sibling repository's path as an extra writable root.
  • Verify the writable roots by checking the environment banner at the start of the session, which should include the sibling repository's path.
  • If the issue persists, try running Codex with a broader sandbox mode that allows writing to the sibling repository.

Notes

The issue is specific to the Codex CLI version 0.124.0 and the Pro Lite subscription, and the solution may vary depending on the specific configuration and setup.

Recommendation

Apply the workaround by restarting the Codex session with the sibling repository's path included in the writable roots, as this is the most straightforward solution to resolve the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix No more writes to sibling repos using Full Access policy [2 comments, 2 participants]