免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 954 | 回复: 0
打印 上一主题 下一主题

A security policy prevents mounting of volums [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-11-16 13:51 |只看该作者 |倒序浏览

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
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP