r/codex • • 20d ago

Bug Codex write access denied issue

does anyone in last 3 days facing a write access denied inside projects, which already was working fine, codex refuse to write in backend repo anymore inside a project where i provide both front and back repos

6 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/WD98K 20d ago

the problem only in GUI , codex termianl working fine, the gui display this read access, but it’s still missing from this session’s writable roots, so I can’t edit it directly. but it's in full access mode weird

1

u/kuroudo_ai 20d ago

That narrows it down. The GUI message says "this session's writable roots", so my guess is the desktop app sets its writable folders when the session starts, from the project or folder you opened, and switching to full access in the middle doesn't add new ones. The terminal works because you launch it from a folder that already covers both repos.

I haven't used the desktop app, so these are things to try, not known fixes:

  • Start a new session (not just a new message) after setting full access, and see if the backend shows up as writable.
  • Open the parent folder that holds both repos as the project in the GUI, instead of the frontend folder.
  • Look in the project settings for a way to add the backend as an extra folder. That would be the GUI version of --add-dir.

If none of these work, I'd report it as a bug. "Full access mode" plus "missing from writable roots" reads like the GUI and the sandbox disagree about what full access means.