{"record":{"id":"91e9e94978b082ac","repo":"openai/codex","slug":"helperreadaclhelperspawnfailed","errorCode":"HelperReadAclHelperSpawnFailed","errorMessage":"spawn read ACL helper failed: {err}","messagePattern":"spawn read ACL helper failed: (.+?)","errorType":"error_code","errorClass":"SetupFailure","httpStatus":null,"severity":"error","filePath":"codex-rs/windows-sandbox-rs/src/bin/setup_main/win.rs","lineNumber":820,"sourceCode":"    }\n    .context(\"apply deny-read ACLs\")?;\n    if !applied_deny_read_paths.is_empty() {\n        log_line(\n            log,\n            &format!(\"applied {} deny-read ACLs\", applied_deny_read_paths.len()),\n        )?;\n    }\n\n    if payload.read_roots.is_empty() {\n        log_line(log, \"no read roots to grant; skipping read ACL helper\")?;\n    } else {\n        match read_acl_mutex_exists() {\n            Ok(true) => {\n                log_line(log, \"read ACL helper already running; skipping spawn\")?;\n            }\n            Ok(false) => {\n                spawn_read_acl_helper(payload, log).map_err(|err| {\n                    anyhow::Error::new(SetupFailure::new(\n                        SetupErrorCode::HelperReadAclHelperSpawnFailed,\n                        format!(\"spawn read ACL helper failed: {err}\"),\n                    ))\n                })?;\n            }\n            Err(err) => {\n                log_line(\n                    log,\n                    &format!(\"read ACL mutex check failed: {err}; spawning anyway\"),\n                )?;\n                spawn_read_acl_helper(payload, log).map_err(|spawn_err| {\n                    anyhow::Error::new(SetupFailure::new(\n                        SetupErrorCode::HelperReadAclHelperSpawnFailed,\n                        format!(\n                            \"spawn read ACL helper failed after mutex error {err}: {spawn_err}\"\n                        ),\n                    ))\n                })?;","sourceCodeStart":802,"sourceCodeEnd":838,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/windows-sandbox-rs/src/bin/setup_main/win.rs#L802-L838","documentation":"Error \"spawn read ACL helper failed: {err}\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/windows-sandbox-rs/src/bin/setup_main/win.rs:820 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"339751715c64496cb86246bfb3935f40e309dd3d","analyzedAt":"2026-08-25T05:35:09.876Z","schemaVersion":2},"datasetVersion":"2026-08-25T06:17:31.827Z"}