Enable network access in the shell snapshot filesystem test (#62415)

## Why

Remote runners can block bubblewrap from creating a nested network
namespace, preventing the shell from starting and reaching the
filesystem checks.

## What changed

Enable network access in `denied_read_in_second_workspace_root` so the
test can exercise denied reads across both workspace roots without
requiring a nested network namespace.

GitOrigin-RevId: 26eada1e5efde4a31190628f4696c6beb400454d
This commit is contained in:
Anthony Tafoya
2026-11-19 03:03:32 +00:00
committed by copyberry
parent 508a429666
commit cf881a627d
@@ -63,8 +63,10 @@ async fn snapshot_failure_omits_credentials_and_stops_descendants(
},
FileSystemAccessMode::Deny,
));
// This fixture only exercises filesystem restrictions. Remote runners can
// deny bubblewrap's nested network namespace before the shell starts.
(
PermissionProfile::from_runtime_permissions(&policy, NetworkSandboxPolicy::Restricted),
PermissionProfile::from_runtime_permissions(&policy, NetworkSandboxPolicy::Enabled),
SandboxSelection::Platform {
preference: SandboxablePreference::Auto,
windows_sandbox: SandboxType::None,