From 53395acb2636dd113fd4a0798e2385b5f2701f11 Mon Sep 17 00:00:00 2001 From: yazan-abdalrahman Date: Wed, 21 Aug 2024 17:05:33 +0300 Subject: [PATCH] Revert "Fix: Address permissions issue for UNC paths on Windows" This reverts commit 033370da7137438be2b1c67910e0175b767587ca. --- runtime/permissions/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/runtime/permissions/lib.rs b/runtime/permissions/lib.rs index 005d5f9587..33d86190bf 100644 --- a/runtime/permissions/lib.rs +++ b/runtime/permissions/lib.rs @@ -1823,7 +1823,6 @@ 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; }