mirror of
https://github.com/openai/codex.git
synced 2026-10-21 17:48:44 +00:00
Exercise managed deny read through shell tool
This commit is contained in:
@@ -345,7 +345,9 @@ async fn windows_elevated_enforces_managed_deny_read_for_shell_subprocess() -> a
|
||||
let _codex_home_guard = EnvVarGuard::set("CODEX_HOME", codex_home.path().as_os_str());
|
||||
std::fs::write(
|
||||
codex_home.path().join(CONFIG_TOML_FILE),
|
||||
r#"[windows]
|
||||
r#"sandbox_mode = "workspace-write"
|
||||
|
||||
[windows]
|
||||
sandbox = "elevated"
|
||||
"#,
|
||||
)?;
|
||||
|
||||
Reference in New Issue
Block a user