From 7864c396b3df846258667165f356bfafa5fa71da Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Sat, 2 Mar 2024 13:04:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dpkexec=E8=A7=84=E5=88=99?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dde-file-manager-gvfs.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dde-file-manager-gvfs.rules b/dde-file-manager-gvfs.rules index c8c4b51..12e4aa4 100644 --- a/dde-file-manager-gvfs.rules +++ b/dde-file-manager-gvfs.rules @@ -4,7 +4,7 @@ // for each client process using the different action id and for the subject // based on the client process. polkit.addRule(function(action, subject) { - if (if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system") && + if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system") && subject.local && subject.active && subject.isInGroup ("sudo")) {