How to fix Arch Linux file manager mounting error
Posted 04-04-2010 at 09:47 AM by MTK358
When you plug in a removable storage device in your Arch box and get an error dialog with some kind of errors about HAL when you try mounting it with your favorite file manager, this should fix your problems:
First, edit "/etc/dbus-1/system.d/hal.conf".
You can obviously use whatever your favorite editor is in place of vim.
Now find something that looks like this in the file:
Make sure that the block starts with the line "<policy context="default">". Now add in the part highlighted in bold. It probably doesn't matter where you put it, though, as long as it's within the "<policy context="default"> ... </policy>" block and NOT within another <allow ... /> block:
Save the modified file and restart the HAL daemon:
It should work now!
First, edit "/etc/dbus-1/system.d/hal.conf".
Code:
vim /etc/dbus-1/system.d/hal.conf
Now find something that looks like this in the file:
Code:
<policy context="default"> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.DBus.Introspectable"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.DBus.Properties" /> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Manager"/> </policy>
Code:
<policy context="default"> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.DBus.Introspectable"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.DBus.Properties" /> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.Volume"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Manager"/> </policy>
Code:
/etc/rc.d/hal restart
Total Comments 0