You are not logged in.

#1 2009-02-08 22:50:44

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 644

[SOLVED] Cannot mount a pendrive after system upgrade

After today's system upgrade I cannot mount my pendrive. Here's what I get when connecting it via USB port

0d144fbf1b041a69m.png

Some of the "solutions" I've found on the net seem very sophisticated. Can anyone confirm this error?

Last edited by Zibi1981 (2009-02-09 06:37:46)


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#2 2009-02-09 00:12:00

someothernick
Member
Registered: 2007-09-18
Posts: 5

Re: [SOLVED] Cannot mount a pendrive after system upgrade

This worked for me.

http://foo-projects.org/pipermail/lunar … 08081.html

"There is easy fix for this error. Just define security rules
in /etc/PolicyKit/PolicyKit.conf like these:

<config version="0.1">

<match action="org.freedesktop.hal.storage.mount-removable">
  <match user="Put user account name here">
    <return result="yes"/>
  </match>
</match>

<match action="org.freedesktop.hal.storage.mount-fixed">
  <match user="Put user account name here">
    <return result="yes"/>
  </match>
</match>

</config>

First rule allows automounting pendrives, the second one is for fixed disks
like hard drives."

Offline

#3 2009-02-09 06:37:21

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 644

Re: [SOLVED] Cannot mount a pendrive after system upgrade

WOW! Thanks a lot! It worked nicely smile On the second hand I'm still confused why did this happen. I guess recent HAL upgrade broke something...


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#4 2009-02-11 11:28:58

giner
Member
Registered: 2007-02-28
Posts: 26
Website

Re: [SOLVED] Cannot mount a pendrive after system upgrade

I'm using next way:
<config version="0.1">
        <define_admin_auth group="wheel"/>
        <match user="root">
                <return result="yes"/>
        </match>
</config>

Offline

#5 2009-02-11 18:24:57

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 644

Re: [SOLVED] Cannot mount a pendrive after system upgrade

Hmmm...if I'm thinking correctly this entry gives root privileges to all wheel-group members. Is it safe? I mean Linux is open source and we can modify every single config file, but I'm always trying to think about certain security issues.


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#6 2009-02-11 21:23:41

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: [SOLVED] Cannot mount a pendrive after system upgrade

I don't like it at all, I prefer this solution (it restores the functionality of storage and power groups): http://bbs.archlinux.org/viewtopic.php?id=65070


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

Board footer

Powered by FluxBB