REDDIT 原始帖子

Codex requests access to entire file system

Codex keep trying to get access out of project’s directory. And goes over all restricted directories of MacOS from Music and Documents to iCloud and Desktop. Does anyone else encounter this behavior? Am I having my settings wrong? Also I’d love to know why it…

原帖正文r/ChatGPT

Codex keep trying to get access out of project’s directory. And goes over all restricted directories of MacOS from Music and Documents to iCloud and Desktop. Does anyone else encounter this behavior? Am I having my settings wrong? Also I’d love to know why it tries to scan entire file system?

已收录讨论

6 条评论

u/AutoModerator

Moderator Announcement Read More » Hey u/dr-dimitru, If your post is a screenshot of a ChatGPT conversation, please reply to this message with the conversation link or prompt. If your post is a DALL-E 3 image post, please reply with the prompt used to make this image. Consider joining our public discord server! We have free bots with GPT-4 (with vision), image generators, and more! 🤖 Note: For any ChatGPT-related concerns, email support@openai.com - this subreddit is not part of OpenAI and is not a support channel. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

u/dr-dimitruOP

I’ll try before next run, so I simply instruct to avoid going out of current project work directory in AGENTS.md? I’m coming from Claude and it had no such behavior

u/Carlose175

Yes. Could be Anthropic just has better system instructions perhaps. Ive definitely run into this with both of them.

u/Carlose175

Check your project overrides. Also permissions doesn’t mean it wont do it. Permissions instead just prompt you that its going to try to do something not in permissions and is awaiting your approval or denial.

u/Carlose175

By default, the Codex App lives inside your documents folder, so at least within the example provided this is normal. It also scans the entire file system as part of its context gathering tools. It doesn't know where it lives or what it has access to so the best way is to just look everywhere to gain context. This should be solvable with a simple addition of the system instructions or an MD file. Either an agents.md or a steering file

u/dr-dimitruOP

I checked /permissions and it should not go beyond project working dir, but it won’t follow that 🤷‍♂️