You are not logged in.

#1 2009-02-17 00:18:23

Preston C.
Member
Registered: 2009-02-14
Posts: 40

can't access external hard drive...

In KDE 4.2, whcn I click on the icon for plugged in devices, next to the start icon, it takes me to my /home folder. I then try to click, in dolphin, where it says freeagent and it says this:

"An error occured while accessing 'Free Agent Drive', the system responded:
org.freedesktop.Hal.Device.PermissionDeniedByPolicy: hal-storage-mount-removable-extra-options no <-- (action,result)"

Any help in getting me to access my external hdd is appreciated. I would like to make it so that I have access to all of the drives on my computer without having to be root and without having to type in a command every time I boot up to get them working.

Thanks,
Preston

Offline

#2 2009-02-17 10:08:19

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: can't access external hard drive...

That is related with the update to hal and policykit. Probably you can't shutdown/reboot your pc too.
Do a quick search here on the forum, you will find a few threads about that (with the solution to your problem and some other useful info).

http://bbs.archlinux.org/viewtopic.php?id=65070
http://bbs.archlinux.org/viewtopic.php?id=64951&p=1


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2009-02-17 17:47:23

Preston C.
Member
Registered: 2009-02-14
Posts: 40

Re: can't access external hard drive...

No problem shutting down or rebooting. Is it possible that I just need to mount it, I think it is worth a try. First I need to find out where the device is located, ex. sdb ?

Would someone tell me how to find out where to find what the drives are and where they are located and how to mount them?

Offline

#4 2009-02-17 18:08:19

Preston C.
Member
Registered: 2009-02-14
Posts: 40

Re: can't access external hard drive...

I think I should try this, http://wiki.archlinux.org/index.php/HAL … utomounter . Will let you all know what happens.

Should I try this, "If you are are running KDE 4.x and you want your removable drives automounted, then you need the plasma-devicenotifier_automount which can be found in AUR."

If I did would I run-

pacman -S  plasma-devicenotifier_automount

Last edited by Preston C. (2009-02-17 18:14:51)

Offline

#5 2009-02-17 18:41:08

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: can't access external hard drive...

If you read through the thread carefully you will see that other people have solved the shutdown and automount problems with the fixes posted there, along with other problems and some tweaks.

From what you say your PolicyKit.conf should have at least

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->

<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">

<!-- See the manual page PolicyKit.conf(5) for file format -->

<config version="0.1">
    <match action="hal-storage-mount-removable-extra-options">
    <return result="yes"/>
    </match>
</config>

R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#6 2009-02-17 18:50:41

Preston C.
Member
Registered: 2009-02-14
Posts: 40

Re: can't access external hard drive...

Will have to get back to this later, have school coming up. Thanks ROOKIE.

Offline

#7 2009-02-17 21:05:13

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: can't access external hard drive...

<config version="0.1">
    <match action="hal-storage-mount-removable-extra-options">
    <return result="yes"/>
    </match>
</config>

This is in my PolicyKit.conf, but no result. Also disregarded d-bus, evdev Xorg policies.
Whatever I write on these files don't make a difference. It's strange to understand what constrains are involved. I put my user on the hal group, but no clues.
May I've to be on the root group, to se the difference?

F


do it good first, it will be faster than do it twice the saint wink

Offline

#8 2009-02-18 00:08:02

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: can't access external hard drive...

You must be doing something wrong ....
I had the automount/shurdown/reboot problem and I have fixed it (quite unsecurely) with

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->

<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">

<!-- See the manual page PolicyKit.conf(5) for file format -->

<config version="0.1">
    <match action="org.freedesktop.hal.storage.mount-removable">
        <return result="yes"/>
    </match>
    <match action="org.freedesktop.hal.power-management.shutdown">
        <return result="yes"/>
    </match>
    <match action="org.freedesktop.hal.power-management.reboot">
        <return result="yes"/>
    </match>
</config>

and everything works just fine, if it complains about something else just add another match inside and return yes until it does what you want.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB