{"record":{"id":"1fd2a44a8445140d","repo":"openai/codex","slug":"no-follow-filesystem-operations-require-an-absolut","errorCode":null,"errorMessage":"no-follow filesystem operations require an absolute path","messagePattern":"no-follow filesystem operations require an absolute path","errorType":"validation","errorClass":"io::Error","httpStatus":null,"severity":"error","filePath":"codex-rs/exec-server/src/no_follow/unix.rs","lineNumber":43,"sourceCode":"\n#[cfg(any(target_os = \"linux\", target_os = \"android\"))]\nfn directory_access_flags() -> OFlags {\n    OFlags::PATH\n}\n\n#[cfg(target_vendor = \"apple\")]\nfn directory_access_flags() -> OFlags {\n    OFlags::from_bits_retain(libc::O_SEARCH as u32)\n}\n\n#[cfg(not(any(target_os = \"linux\", target_os = \"android\", target_vendor = \"apple\")))]\nfn directory_access_flags() -> OFlags {\n    OFlags::RDONLY\n}\n\nfn components(path: &Path) -> io::Result<Vec<OsString>> {\n    if !path.is_absolute() {\n        return Err(io::Error::new(\n            io::ErrorKind::InvalidInput,\n            \"no-follow filesystem operations require an absolute path\",\n        ));\n    }\n    path.components()\n        .filter_map(|component| match component {\n            Component::RootDir => None,\n            Component::Normal(component) => Some(Ok(component.to_os_string())),\n            Component::CurDir | Component::ParentDir | Component::Prefix(_) => {\n                Some(Err(io::Error::new(\n                    io::ErrorKind::InvalidInput,\n                    \"no-follow filesystem operations require a normalized path\",\n                )))\n            }\n        })\n        .collect()\n}\n","sourceCodeStart":25,"sourceCodeEnd":61,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/exec-server/src/no_follow/unix.rs#L25-L61","documentation":"Error \"no-follow filesystem operations require an absolute path\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/exec-server/src/no_follow/unix.rs:43 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Pass an absolute path for no-follow filesystem operations."],"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"}