{"record":{"id":"7db5fe60747f3645","repo":"openai/codex","slug":"filesystem-path-path-does-not-support-nested-e","errorCode":null,"errorMessage":"filesystem path `{path}` does not support nested entries","messagePattern":"filesystem path `(.+?)` does not support nested entries","errorType":"validation","errorClass":"io::Error","httpStatus":null,"severity":"error","filePath":"codex-rs/core/src/config/permissions.rs","lineNumber":625,"sourceCode":"    subpath: &str,\n    startup_warnings: &mut Vec<String>,\n) -> io::Result<FileSystemPath> {\n    if subpath == \".\" {\n        return compile_filesystem_path(path, startup_warnings);\n    }\n\n    if let Some(special) = parse_special_path(path) {\n        let subpath = parse_relative_subpath(subpath)?\n            .to_string_lossy()\n            .into_owned();\n        let special = match special {\n            FileSystemSpecialPath::ProjectRoots { .. } => Ok(FileSystemPath::Special {\n                value: FileSystemSpecialPath::project_roots(Some(subpath)),\n            }),\n            FileSystemSpecialPath::Unknown { path, .. } => Ok(FileSystemPath::Special {\n                value: FileSystemSpecialPath::unknown(path, Some(subpath)),\n            }),\n            _ => Err(io::Error::new(\n                io::ErrorKind::InvalidInput,\n                format!(\"filesystem path `{path}` does not support nested entries\"),\n            )),\n        }?;\n        if let FileSystemPath::Special { value } = &special {\n            maybe_push_unknown_special_path_warning(value, startup_warnings);\n        }\n        return Ok(special);\n    }\n\n    let subpath = parse_relative_subpath(subpath)?;\n    let base = parse_absolute_path(path)?;\n    let path = AbsolutePathBuf::resolve_path_against_base(&subpath, base.as_path());\n    Ok(path.into())\n}\n\nfn compile_scoped_filesystem_pattern(\n    path: &str,","sourceCodeStart":607,"sourceCodeEnd":643,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/core/src/config/permissions.rs#L607-L643","documentation":"Error \"filesystem path `{path}` does not support nested entries\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/core/src/config/permissions.rs:625 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a single filesystem path entry for `{path}` without nested entries."],"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"}