aboutsummaryrefslogtreecommitdiff
path: root/system/system76-power/fix_groups.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/system76-power/fix_groups.patch')
-rw-r--r--system/system76-power/fix_groups.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/system/system76-power/fix_groups.patch b/system/system76-power/fix_groups.patch
new file mode 100644
index 000000000000..4a94584efe01
--- /dev/null
+++ b/system/system76-power/fix_groups.patch
@@ -0,0 +1,22 @@
+diff --git a/data/system76-power.conf b/data/system76-power.conf
+index 335981c..1705b0c 100644
+--- a/data/system76-power.conf
++++ b/data/system76-power.conf
+@@ -6,17 +6,9 @@
+ <allow send_destination="com.system76.PowerDaemon"/>
+ <allow receive_sender="com.system76.PowerDaemon"/>
+ </policy>
+- <policy group="sudo">
+- <allow send_destination="com.system76.PowerDaemon"/>
+- <allow receive_sender="com.system76.PowerDaemon"/>
+- </policy>
+ <policy user="root">
+ <allow own="com.system76.PowerDaemon"/>
+ <allow send_destination="com.system76.PowerDaemon"/>
+ <allow receive_sender="com.system76.PowerDaemon"/>
+ </policy>
+- <policy user="gnome-initial-setup">
+- <allow send_destination="com.system76.PowerDaemon"/>
+- <allow receive_sender="com.system76.PowerDaemon"/>
+- </policy>
+ </busconfig>