- 论坛徽章:
- 0
|
If you happen to access a CD-ROM device or USB device which results in the following error:
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”)
….. I have a fix for you. This is caused by the
hal daemon
not allowing you to access the device because of a security policy. The
hal daemons security policy resides in a file at
“/etc/dbus-1/system.d/hal.conf”. Lets open and see whats in there.
If you observer this config file you will see there are the following sections:
- Owners of tha HAL service
- Permissions for anyone to invoke the Manager and Device interfaces
- Default policy for the exported interfaces
- Policy for Console Interface
- Policies for Users or Groups.
In our config file , only group root is allowed to access to the device. so ,we can just add a policy for the group your count belongs to .let's say " kz ". then the policy section is like..
After doing this,restart X would be a good choice to make the change affective.
I don’t know if this is in fact the case for everyone but do so if you are still
get the the error. On the other hand you could also try restarting the hal daemon
by executing:
#/etc/init.d/haldaemon restart
NOTE: you can find almost the same thing here ,In fact ,I copied it ..-_-##
http://www.jefferyfernandez.id.au/2007/07/26/a-security-policy-in-place-prevents-mounting-of-volumes/
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/54097/showart_1417916.html |
|