You are not logged in.
Hello
Few days ago I have installed Arch Linux.
I have a problem with USB Memory. When I plug it in, HAL recognizes it, but the system won't comply. Dolphin sends me a message:
org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call', sender=":1.19" (uid=1000 pid =1763 comm="/usr/bin/dolphin) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=) destination="org.freedesktop.Hal" (uid=0 pid=1327 comm="/usr/sbin/hald))
USB is on, but could not be read. It seems that udev is not assigning it a /media/... or /mnt/... file.
Also i suspect that i might have to assign myself to some of the groups, but if so, don't know which one?
Last edited by malecite (2009-12-03 13:30:10)
Offline
Can this do the trick:
http://wiki.archlinux.org/index.php/Ude … .26_Tricks
problem with that solution is that i don't have /etc/udev/rules.d/11-mnt-auto-mount.rules in my system. can i create that file by myself?
consider that i am still a noob in the world of linux.
Offline
To get USB to mount, I had to make a file called PolicyKit.conf in /etc/PolicyKit. Can't remember where I got the info, but it was from the wiki somewhere. Here's what mine looks like:
<?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 user="rune0077">
<!-- replace with your login or delete the line if you want to allow all users to manipulate devices (keep security issues in mind though) -->
<match action="org.freedesktop.hal.storage.*">
<return result="yes"/>
</match>
<match action="hal-storage-mount-fixed-extra-options">
<!-- for internal devices mounted with extra options like a wished mount point -->
<return result="yes" />
</match>
<match action="hal-storage-mount-removable-extra-options">
<!-- for external devices mounted with extra options like a wished mount point -->
<return result="yes" />
</match>
</match> <!-- don't forget to delete this line if you deleted the first one -->
</config>
That worked for me. Don't forget to replace the "rune0077" with your own username.
Offline
to rune0077
Sorry, but that didn't work. Tried but it just won't budge. He still reports me the same error.
Offline
Can this do the trick:
http://wiki.archlinux.org/index.php/Ude … .26_Tricks
problem with that solution is that i don't have /etc/udev/rules.d/11-mnt-auto-mount.rules in my system. can i create that file by myself?
consider that i am still a noob in the world of linux.
I had the exact problem with USB devices not mounting.
Once I created a /etc/udev/rules.d/11-mnt-media-auto-mount.rules file and rebooted, my USB sticks were auto-mounted upon connection.
Have you tried this yet?
EDIT:
I used the option Mounting to /mnt/usbhd-sdXY and creating a symbolic link in /media
Basically, just copy the commands under that and paste them into the new file you created.
For example, in bash I used:
sudo nano /etc/udev/rules.d/11-mnt-media-auto-mount.rules
then I just copied-and-pasted the commands into the new file. You can use any basic text editor you want, not just nano of course. Use kwrite/gedit/mousepad/whatever.
Last edited by Darkfire Fox (2009-12-03 06:52:10)
Offline
thanks.
that did work. problem solved.
Offline