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

claude devise c.devise at wanadoo.fr
Tue Jun 28 10:15:58 CEST 2011


Le 28/06/2011 09:59, claude devise a écrit :
> Le 28/06/2011 00:30, Eugeni Dodonov a écrit :
>> On Mon, Jun 27, 2011 at 18:25, Ahmad Samir <ahmadsamir3891 at gmail.com 
>> <mailto:ahmadsamir3891 at gmail.com>> wrote:
>>
>>     On 10 June 2011 13:32, claude devise <c.devise at wanadoo.fr
>>     <mailto:c.devise at wanadoo.fr>> wrote:
>>     > I've successfully installed Mageia over a Mandriva2010.2 (LXDE)
>>     > all is fine except usb removable sticks mounting (and usb
>>     larger disks too,
>>     > i think):
>>     > i get an 'Not Authorized' error when i insert my usb sticks
>>     (all of them).
>>     > device is created (i.e., /dev.sdx), but i have to mount it
>>     manually as root.
>>     > this is not user friendly.
>>     >
>>     > if think udev or polkit is faulty.
>>     >
>>     > any hints on that ?
>>     >
>>     > c.devise
>>     >
>>     >
>>
>>     - Do these device have entries in /etc/fstab? (Ideally they
>>     shouldn't).
>>     - Is there a polkit authentication agent running? the output of 'ps
>>     aux | grep polkit' should tell
>>
>>
>> It looks painfully similar to 
>> https://qa.mandriva.com/show_bug.cgi?id=60627 as well, which seems to 
>> resurrect sometimes randomly on both Mandriva and Mageia :(.
>>
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

/

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


More information about the Mageia-discuss mailing list