From 20f2105ed09fb8e29fb3a015b901d4011bbb4292 Mon Sep 17 00:00:00 2001 From: Ben Kohler Date: Tue, 1 Mar 2022 10:06:13 -0600 Subject: [PATCH] specs/amd64/livegui: allow root for mounts Signed-off-by: Ben Kohler --- releases/specs/amd64/livegui/files/fsscript-stage2.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh b/releases/specs/amd64/livegui/files/fsscript-stage2.sh index 32931eb6..7c11b074 100755 --- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh +++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh @@ -60,4 +60,10 @@ polkit.addRule(function(action, subject) { if (action.id == "org.kde.kpmcore.externalcommand.init") { return polkit.Result.YES; } +}); + +polkit.addRule(function(action, subject) { + if (action.id == "org.freedesktop.udisks2.filesystem-mount-system") { + return polkit.Result.YES; + } });" > /etc/polkit-1/rules.d/livegui-root-tools.rules