|
hal更新到0.5.11-7后
不能自动挂载U盘了
并提示:
org.freedesktop.hal.storage.mount-removable no <-- (action, result).
临时解决办法:
以root权限打开 /etc/PolicyKit/PolicyKit.conf
并将以下内容加到<config version="0.1">和</config>
- <match action="org.freedesktop.hal.storage.mount-removable">
- <return result="yes"/>
- </match>
- <match action="org.freedesktop.hal.storage.mount-fixed">
- <return result="yes"/>
- </match>
- <match action="org.freedesktop.hal.storage.eject">
- <return result="yes"/>
- </match>
复制代码
然后重启hal服务
sudo /etc/rc.d/hal restart |
|