I'm have a 500G WD "My Book" USB hard drive which I would like to use
for a backup drive.  Other USB drives - flash drives - automount on
directories in /media with names such as /media/TRAVELDRIVE, etc.   I'm
not sure where or how these mountpoints are established and what
mechanism is used to automount.

When I plug in the WD USB hard drive, I get an error dialog:

        Cannot mount volume:
        
        Error org.freedesktop.DBus.Error.AccessDenied
        
        Details
        A security policy in place prevents this sender from sending
        this message to this recipient, see message bus configuration
        file (rejected message had interface
        "org.freedesktop.Hal.Device.Volume" member "Mount" error name
        "(unset)" destination "org.freedesktop.Hal")

What's the meaning of this and how do I get the system to automount the
drive on a proper mountpoint in /media/ ??

This appears to be related to policies in /etc/dbus-1/system.d/hal.conf
which contain a number of rules, including:

  <!-- Allow anyone to invoke methods on the Manager and Device interfaces -->
  <policy context="default">
    <allow send_interface="org.freedesktop.Hal.Manager"/>
    <allow send_interface="org.freedesktop.Hal.Device"/>
    <allow receive_interface="org.freedesktop.Hal.Manager"
           receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device"
           receive_sender="org.freedesktop.Hal"/>

    <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
    <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
    <allow receive_interface="org.freedesktop.Hal.Device.SystemPowerManagement"
           receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device.LaptopPanel"
           receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device.Volume"
           receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device.Volume.Crypto"
           receive_sender="org.freedesktop.Hal"/>
  </policy>

  <!-- Default policy for the exported interfaces -->
  <policy context="default">
    <deny send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
    <deny send_interface="org.freedesktop.Hal.Device.VideoAdapterPM"/>
    <deny send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
    <deny send_interface="org.freedesktop.Hal.Device.Volume"/>
    <deny send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
  </policy>
        
-- 
Lindsay Haisley       | "In an open world,    |     PGP public key
FMP Computer Services |    who needs Windows  |      available at
512-259-1190          |      or Gates"        | http://pubkeys.fmp.com
http://www.fmp.com    |                       |

-- 
[EMAIL PROTECTED] mailing list

Reply via email to