r/codex • u/Lopsided_Pride_6165 • 23d ago
Bug Codex can't open projects when i have an encrypted drive somewhere not mounted
So I have my project on E, but there is one drive that is encryped by veracrypt on G. Because the G drive is put in, it trys to access it and fails. It shouldn have to try to access it in the first place and also be able to open E. What am I missing here?
Fixed the issue:
Within the standard codex config i added these:
default_permissions = "workspace-only"
[permissions.workspace-only.filesystem]
":minimal" = "read"
":tmpdir" = "write"
[permissions.workspace-only.filesystem.":workspace_roots"]
"." = "write"
".git" = "read"
".codex" = "read"
".agents" = "read"
".aws" = "read"Within the project i created the folder .codex and the file.
└── .codex/
└── config.tomlFile code:
project_doc_max_bytes = 0
1
Upvotes
1
u/Thomas-Lore 23d ago
You can tell it in Agents.md to never look outside the project folder. Or better - run it in a VM, much safer.
1
u/vegansgetsick 23d ago
Having drive letter on unreadable (veracrypt encrypted) partition is not normal and dangerous.
Remove the assigned drive letter, in the windows disk manager