[Mageia-discuss] auto mount usb sticks[resolved]

claude devise c.devise at wanadoo.fr
Tue Jun 28 10:47:16 CEST 2011


Le 28/06/2011 10:15, claude devise a écrit :
> I answer myself :
> I applied https://qa.mandriva.com/show_bug.cgi?id=60627 workaround :
>
> "/Eventually I've found a workaround:
> add a file /etc/polkit-1/localauthority/50-local.d/mount.pkla with:/
> /[Workaround for bug]
> Identity=unix-user:eric
> Action=org.freedesktop.udisks.filesystem-mount
> ResultAny=yes
> ResultInactive=no/
> /ResultActive=yes"
>
> /It seems polkit ans polkit1 are a bit fuzzy.../
>
> /thanks to you, i was not able to find this feature  ;-)/
>
> c.devise
>
> /
I was not able to eject usb sticks...
I added a other file //etc/polkit-1/localauthority/50-local.d/eject.pkla

as this :
[Workaround for bug]
Identity=unix-user:claude
Action=org.freedesktop.udisks.drive-eject
ResultAny=yes
ResultInactive=no
ResultActive=yes

and it works on ejecting my usb stick...

c.devise

/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-discuss/attachments/20110628/e0da467b/attachment.html>


More information about the Mageia-discuss mailing list