Problem: Xfce4, USB hard disk can automatically mount and display, but ordinary user operation, prompt: not authorized to perform operation.
Time: 20160928
Os:gentoo + Xfce4 + OPENRC
Workaround:
Cd/usr/share/polkit-1/actions
Nano *.udisks*.*
Change the appropriate permissions to Yes.
<action id= "Org.freedesktop.udisks2.filesystem-mount" >
<description>mount a filesystem</description>
<description xml:lang= "ZH_CN" > Mount file System </description>
<message>authentication is required to mount the filesystem</message>
<message xml:lang= "ZH_CN" > Mount file system requires authentication </message>
<defaults>
<allow_any>yes</allow_any>/* Modify here, it turns out to be <allow_any>auth_admin</allow_any>*/
<allow_inactive>yes</allow_inactive>/*modified here, turned out to be<allow_inactive>auth_admin</allow_inactive>*/
<allow_active>yes</allow_active>
</defaults>
</action>
Linux xfce4 Normal user mount USB prompt: Not authorized to perform operation