hal 更新到0.5.11-7后不能自动挂载u盘
偶真是后知后觉啊,今天看log发现是Feb.7的时候就更新的….
解决办法如下,修改/etc/PolicyKit/PolicyKit.conf (尖括号之间的空格去掉)
< match user="$USER" >
< match action="org.freedesktop.hal.storage.*" >
< return result="yes" >
< /match >
< match action="hal-storage-mount-fixed-extra-options" >
< return result="yes" >
< /match >
< match action="hal-storage-mount-removable-extra-options" >
< return result="yes" >
< /match >
< /match >
ref:
http://www.linuxsir.org/bbs/thread344125.html
http://bbs.archlinux.org/viewtopic.php?id=65070