diff options
-rw-r--r-- | indicator-sensors.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indicator-sensors.install b/indicator-sensors.install index a4d5e3bcfd2e..e340fb267e30 100644 --- a/indicator-sensors.install +++ b/indicator-sensors.install @@ -1,6 +1,6 @@ post_install() { cat << EOF -==> One way to solve Policykit/UDisks2 related errors ("Error:org.freedesktop.UDisks2.Error.NotAuthorized: Not authorized to perform operation") is to define the following rules in file /etc/polkit-1/rules.d/50-udisks.rules: +==> One way to solve Policykit/UDisks2 related errors ("Error:org.freedesktop.UDisks2.Error.NotAuthorized: Not authorized to perform operation") is to define the following rules in file /etc/polkit-1/rules.d/50-udisks.rules (where <GROUP> is for example your main/initial login user group): polkit.addRule(function(action, subject) { var YES = polkit.Result.YES; @@ -9,7 +9,7 @@ post_install() { "org.freedesktop.udisks2.ata-check-power": YES, "org.freedesktop.udisks2.ata-smart-update": YES, }; - if (subject.isInGroup("users")) { + if (subject.isInGroup("<GROUP>")) { return permission[action.id]; } }); |