openai/codex · error · io::Error
no-follow filesystem operations require an absolute Windows
Error message
no-follow filesystem operations require an absolute Windows path
What it means
Error "no-follow filesystem operations require an absolute Windows path" thrown in openai/codex.
Source
Thrown at codex-rs/exec-server/src/no_follow/windows.rs:100
"no-follow filesystem operations require an absolute path",
));
}
let (prefix, source_offset) = match path.components().next() {
Some(Component::Prefix(prefix)) => match prefix.kind() {
Prefix::Disk(_) => ("\\??\\", 0),
Prefix::VerbatimDisk(_) => ("\\??\\", 4),
Prefix::UNC(_, _) => ("\\??\\UNC\\", 2),
Prefix::VerbatimUNC(_, _) => ("\\??\\UNC\\", 8),
_ => {
return Err(io::Error::new(
io::ErrorKind::InvalidInput,
"no-follow filesystem operations require a local disk or UNC path",
));
}
},
_ => {
return Err(io::Error::new(
io::ErrorKind::InvalidInput,
"no-follow filesystem operations require an absolute Windows path",
));
}
};
let mut result: Vec<u16> = OsStr::new(prefix).encode_wide().collect();
result.extend(
path.as_os_str()
.encode_wide()
.skip(source_offset)
.map(|unit| {
if unit == b'/' as u16 {
b'\\' as u16
} else {
unit
}
}),View on GitHub (pinned to 339751715c)
When it happens
Trigger: Thrown at codex-rs/exec-server/src/no_follow/windows.rs:100 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/3c81df501e313d86.
Report an issue: GitHub.