Problem accessing the files.
Resolved 💬 12 comments Opened Jul 30, 2025 by martrdev Closed Oct 27, 2025
💡 Likely answer: A maintainer (seratch, member)
responded on this thread — see the highlighted reply below.
With this new version, Codex has problem accessing the files in my folder. Sometimes it would be able to, but only if I pass it the folder structure.
<img width="825" height="158" alt="Image" src="https://github.com/user-attachments/assets/85450e4d-baba-4c55-bf2c-582d365e10fd" />
This is obviously very problematic. I tried using codex with the default option and with the --full-auto option but nothing works.
<img width="416" height="155" alt="Image" src="https://github.com/user-attachments/assets/b6107257-5158-460f-b3fd-abdc3649c2e3" />
Any idea how to fix this?
12 Comments
I have the same issue in Windows. There are some unicode characters as part of the folder too.
<img width="434" height="155" alt="Image" src="https://github.com/user-attachments/assets/75b9b873-1f32-4b42-a128-958d91b3a12e" />
problem might be related to #413 #330 #877
Thanks. I am a bit confused though, are they still working on it? They said they added a potential fix in https://github.com/openai/codex/pull/688
#688 is still open. the PR was not approved.
As mentioned at https://github.com/openai/codex/pull/688#issuecomment-3162171953, the latest version is a different implementation. Please try 0.20.0 out and let us know if this issue still arises.
Unfortunately it is still the case that codex cannot see the folder structure. I'm using both the version on WSL and the version on Windows (after following this https://github.com/openai/codex/issues/1243#issuecomment-3174120700).
I am having this issue as well on linux
Same here. I've tried different versions, but I still can't get Codex to work. (Ubuntu 24.04)
Yeah I'm thinking there are two quirks of my environment that might explain it.
I am not a sudoer.
Im running in a container.
I'm thinking my account not being a sudoer or my user lacking membership to some group is more likely.
I tried it with sudo and it started working. The issue was definitely permissions
Oh nice! Hopefully someone at OpenAI sees this and can address the underlying issue.
I suspect that there are a variety of underlying issues being reported here — some related to local permission issues and other related to bugs that have since been fixed in codex.
I'm going to close this issue. If you have questions about permissions, feel free to post to the discussion forum. If you think you're seeing a permissions issue that you think is a codex bug, please file a new issue with repro steps.