1 |
I'm have a 500G WD "My Book" USB hard drive which I would like to use |
2 |
for a backup drive. Other USB drives - flash drives - automount on |
3 |
directories in /media with names such as /media/TRAVELDRIVE, etc. I'm |
4 |
not sure where or how these mountpoints are established and what |
5 |
mechanism is used to automount. |
6 |
|
7 |
When I plug in the WD USB hard drive, I get an error dialog: |
8 |
|
9 |
Cannot mount volume: |
10 |
|
11 |
Error org.freedesktop.DBus.Error.AccessDenied |
12 |
|
13 |
Details |
14 |
A security policy in place prevents this sender from sending |
15 |
this message to this recipient, see message bus configuration |
16 |
file (rejected message had interface |
17 |
"org.freedesktop.Hal.Device.Volume" member "Mount" error name |
18 |
"(unset)" destination "org.freedesktop.Hal") |
19 |
|
20 |
What's the meaning of this and how do I get the system to automount the |
21 |
drive on a proper mountpoint in /media/ ?? |
22 |
|
23 |
This appears to be related to policies in /etc/dbus-1/system.d/hal.conf |
24 |
which contain a number of rules, including: |
25 |
|
26 |
<!-- Allow anyone to invoke methods on the Manager and Device interfaces --> |
27 |
<policy context="default"> |
28 |
<allow send_interface="org.freedesktop.Hal.Manager"/> |
29 |
<allow send_interface="org.freedesktop.Hal.Device"/> |
30 |
<allow receive_interface="org.freedesktop.Hal.Manager" |
31 |
receive_sender="org.freedesktop.Hal"/> |
32 |
<allow receive_interface="org.freedesktop.Hal.Device" |
33 |
receive_sender="org.freedesktop.Hal"/> |
34 |
|
35 |
<allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/> |
36 |
<allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/> |
37 |
<allow send_interface="org.freedesktop.Hal.Device.Volume"/> |
38 |
<allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/> |
39 |
<allow receive_interface="org.freedesktop.Hal.Device.SystemPowerManagement" |
40 |
receive_sender="org.freedesktop.Hal"/> |
41 |
<allow receive_interface="org.freedesktop.Hal.Device.LaptopPanel" |
42 |
receive_sender="org.freedesktop.Hal"/> |
43 |
<allow receive_interface="org.freedesktop.Hal.Device.Volume" |
44 |
receive_sender="org.freedesktop.Hal"/> |
45 |
<allow receive_interface="org.freedesktop.Hal.Device.Volume.Crypto" |
46 |
receive_sender="org.freedesktop.Hal"/> |
47 |
</policy> |
48 |
|
49 |
<!-- Default policy for the exported interfaces --> |
50 |
<policy context="default"> |
51 |
<deny send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/> |
52 |
<deny send_interface="org.freedesktop.Hal.Device.VideoAdapterPM"/> |
53 |
<deny send_interface="org.freedesktop.Hal.Device.LaptopPanel"/> |
54 |
<deny send_interface="org.freedesktop.Hal.Device.Volume"/> |
55 |
<deny send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/> |
56 |
</policy> |
57 |
|
58 |
-- |
59 |
Lindsay Haisley | "In an open world, | PGP public key |
60 |
FMP Computer Services | who needs Windows | available at |
61 |
512-259-1190 | or Gates" | http://pubkeys.fmp.com |
62 |
http://www.fmp.com | | |
63 |
|
64 |
-- |
65 |
gentoo-desktop@g.o mailing list |