Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

do not attempt ACLs on installed codex dir (#19214)

iceweasel-oai867820ac7e80
diff --git a/codex-rs/windows-sandbox-rs/src/setup_orchestrator.rs b/codex-rs/windows-sandbox-rs/src/setup_orchestrator.rs
index 3774ab7295..8c334000ec 100644
--- a/codex-rs/windows-sandbox-rs/src/setup_orchestrator.rs
+++ b/codex-rs/windows-sandbox-rs/src/setup_orchestrator.rs
@@ -345,16 +345,9 @@ fn profile_read_roots(user_profile: &Path) -> Vec<PathBuf> {
}
fn gather_helper_read_roots(codex_home: &Path) -> Vec<PathBuf> {
- let mut roots = Vec::new();
- if let Ok(exe) = std::env::current_exe()
- && let Some(dir) = exe.parent()
- {
- roots.push(dir.to_path_buf());
- }
let helper_dir = helper_bin_dir(codex_home);
let _ = std::fs::create_dir_all(&helper_dir);
- roots.push(helper_dir);
- roots
+ vec![helper_dir]
}
fn gather_legacy_full_read_roots(