1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: Sophie Herold <sophie@hemio.de>
Date: Sun, 1 Feb 2026 20:20:36 +0100
Subject: [PATCH] glycin/sandbox: Disable sandbox on uid map error
Disable sandbox when bwrap fails with "bwrap: setting up uid map:
Permission denied".
Origin: https://gitlab.gnome.org/GNOME/glycin/-/commit/31f942a339cd31af46748172f58003bf8998fe04
---
glycin/src/sandbox.rs | 1 +
1 files changed, 1 insertions(+)
--- a/src/sandbox.rs
+++ b/src/sandbox.rs
@@ -745,6 +745,7 @@ impl Sandbox {
"No permissions to creating new namespace",
// Wording of an old Debian patch
"No permissions to create new namespace",
+ "bwrap: setting up uid map: Permission denied",
]
.iter()
.any(|y| x.contains(y))
|