xfce对普通用户限制颇多啊 非得二逼用户才行吗混蛋
挂载U盘和移动硬盘都显示:
Failed to mount “[device name]” 和 Not Authorized
把用户加入storage组:
$gpasswd -a [user] storage
木有用 最后在archwiki的thunar页找到 原来是某些包升级后的问题 据说是4.8以后才出现的 解决如下:
Mounting problems after package update
Even if mounting usually works, after some package update it breaks, leaving you with the “Not Authorized” error. Solution is to configure PolicyKit to allow mounting for users in storage group, regardless of the state of their session, by writing as root to file
/etc/polkit-1/localauthority/50-local.d/10-storage-group-mount-override.pkla
[storage group mount override]
Identity=unix-group:storage
Action=org.freedesktop.udisks.filesystem-mount
ResultAny=yes
ResultInactive=yes
ResultActive=yes
Results should be instantaneous.