diff --git a/runtime/permissions/lib.rs b/runtime/permissions/lib.rs index 33d86190bf..005d5f9587 100644 --- a/runtime/permissions/lib.rs +++ b/runtime/permissions/lib.rs @@ -1823,6 +1823,7 @@ impl PermissionsContainer { // Check if the path is a UNC path (e.g., \\Server\Share\Folder) // UNC paths typically contain "\\" at the start or somewhere in the middle + #[cfg(windows)] if s.windows(2).any(|window| window == b"\\\\") { return true; }