From d61d1bec2acdcf3593e7462a6417412eb1ae6da0 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sat, 21 May 2016 17:33:17 +0200 Subject: Powerdevil: fix the broken (missing) suspend menu item. The file /etc/polkit-1/rules.d/10-enable-suspend.rules needs to be world-readable. When the file is not readable by world, an error will be logged to /var/log/secure about not being able to read the rules file and as a result it will not be applied by PolicyKit. --- kde/post-install/powerdevil.post-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kde/post-install') diff --git a/kde/post-install/powerdevil.post-install b/kde/post-install/powerdevil.post-install index 8bc673b..9eb14f2 100644 --- a/kde/post-install/powerdevil.post-install +++ b/kde/post-install/powerdevil.post-install @@ -7,7 +7,7 @@ mkdir -p $PKG/etc/polkit-1/localauthority/50-local.d chmod 700 $PKG/etc/polkit-1/localauthority # Add polkit policy file that brings back suspend/hibernate options: -install -m 0660 -o root \ +install -m 0644 -o root \ $CWD/post-install/powerdevil/10-enable-suspend.rules \ $PKG/etc/polkit-1/rules.d/10-enable-suspend.rules.new install -m 0660 -o root \ -- cgit v1.2.3