Package: gvfs / 1.30.4-1

02_polkit_sudo_group.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Use sudo group instead of the wheel one, the later doesn't exist on debian
Author: Laurent Bigonville <bigon@debian.org>
Forwarded: not-needed

--- a/daemon/org.gtk.vfs.file-operations.rules
+++ b/daemon/org.gtk.vfs.file-operations.rules
@@ -2,7 +2,7 @@ polkit.addRule(function(action, subject)
         if ((action.id == "org.gtk.vfs.file-operations-helper") &&
             subject.local &&
             subject.active &&
-            subject.isInGroup ("wheel")) {
+            subject.isInGroup ("sudo")) {
             return polkit.Result.YES;
         }
 });