On 15/12/2013 15:46, Michael Biebl wrote:
tags 732195 - patch
thanks
Am 15.12.2013 15:32, schrieb Eric Valette:
Package: udisks2
Version: 2.1.1-1
Severity: important
Tags: patch
I recently discovered after installing udisk2 that all my kde setup (various
machines) fails to mount usb keys. After googling a bit, this is due to
useage of policykit permissions that are not compatible with previous
setup where being member of plugdev group enabled to mount usb keys. Attached
is a pach to fix it.
/etc/polkit-1/rules.d/10-mount.rules
polkit.addRule (function (a,s) {
if (a.id.indexOf ('org.freedesktop.udisks2.') == 0 &&
s.isInGroup("plugdev"))
return polkit.Result.YES;
});
pn policykit-1 <none>
Using a static group membership like plugdev is not a proper fix, so
removing the patch tag. We didn't use that in udisks either.
I don't care how you fix it provided you fix it without forcing me to
tweak all config on all machines.
-- eric
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]