From 51c794ac500a2033b9dc570c71810518bfa667a9 Mon Sep 17 00:00:00 2001 From: Sirio Balmelli Date: Mon, 21 Oct 2024 11:42:40 +0200 Subject: [PATCH] WezTerm.app/Contents/Info.plist: request network permissions On MacOS 15 (Sequoia) and later, Wezterm.app should ask for a LocalNetwork entitlement by default. This fixes mysterious network failures (eg: 'no route to host') when: - Wezterm is a toplevel process (ie: not a child of a process that already has LocalNetwork entitlement, like Terminal) - A shell running inside Wezterm executes a process which accesses the network, but does not itself already have a LocalNetwork entitlement, eg: /etc/profiles/per-user/$(whoami)/bin/ssh for ssh installed by nix home-manager. Signed-off-by: Sirio Balmelli --- assets/macos/WezTerm.app/Contents/Info.plist | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/macos/WezTerm.app/Contents/Info.plist b/assets/macos/WezTerm.app/Contents/Info.plist index fee5020cc..36ff95b4c 100644 --- a/assets/macos/WezTerm.app/Contents/Info.plist +++ b/assets/macos/WezTerm.app/Contents/Info.plist @@ -60,6 +60,8 @@ An application launched via WezTerm would like to access your Downloads folder. NSSystemAdministrationUsageDescription An application launched via WezTerm requires elevated permission. + NSLocalNetworkUsageDescription + An application launched via WezTerm would like to access the local network. CFBundleDocumentTypes