您尚未登录。

#16 2012-11-26 10:48:19

comilk
会员
注册时间: 2012-11-24
帖子: 3

Re: 最近升级后,U盘不能自动挂载了(已解决)

总感觉不太稳妥的样子,但至少暂时解决问题了。创建了一个规则: /etc/polkit-1/rules.d/10-udisks2.rules

// Allow udisks2 to mount devices without authentication
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.udisks2.filesystem-mount-system" || 
     action.id == "org.freedesktop.udisks2.filesystem-mount" || 
     action.id == "org.freedesktop.udisks.filesystem-mount-system-internal") {
       return polkit.Result.YES;
   }
});

离线

页脚