openai/codex · error
read ACL run had errors
Error message
read ACL run had errors
What it means
Sentinel aggregation error: the read-ACL refresh pass completed but one or more per-root ACL operations reported errors (collected in refresh_errors), and the payload requested refresh_only mode, so the run aborts instead of continuing. The detailed error list is written to the setup log in the preceding 'read ACL run completed with errors' line.
Solutions
- Inspect the setup log for the refresh_errors entries to find the failing read roots
- Fix the underlying per-root failures (missing directories, access-denied paths, invalid SIDs)
- Re-run the refresh-only setup step once the offending roots are repaired or removed from the payload
Defensive patterns
Strategy: fallback
When it happens
Trigger: Thrown at codex-rs/windows-sandbox-rs/src/bin/setup_main/win.rs:587 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of openai/codex@339751715c (2026-08-25).
Data as JSON: /api/errors/6ffb254d59440117.
Report an issue: GitHub.
Appendix: source
Thrown at codex-rs/windows-sandbox-rs/src/bin/setup_main/win.rs:587
LocalFree(auth_psid as HLOCAL);
}
if !everyone_psid.is_null() {
LocalFree(everyone_psid as HLOCAL);
}
}
}
unsafe {
if !sandbox_group_psid.is_null() {
LocalFree(sandbox_group_psid as HLOCAL);
}
}
if !refresh_errors.is_empty() {
log_line(
log,
&format!("read ACL run completed with errors: {refresh_errors:?}"),
)?;
if payload.refresh_only {
anyhow::bail!("read ACL run had errors");
}
}
log_line(log, "read ACL run completed")?;
Ok(())
}
fn provision_and_hide_sandbox_users(
payload: &Payload,
log: &mut dyn Write,
sbx_dir: &Path,
) -> Result<()> {
let provision_result = provision_sandbox_users(
&payload.codex_home,
&payload.offline_username,
&payload.online_username,
log,
);
if let Err(err) = provision_result {View on GitHub (pinned to 339751715c)