Friday, April 08, 2011

[setting] Error occurred while mounting usb stick via the device notifier

[reference] https://bbs.archlinux.org/viewtopic.php?pid=909650 draugdel @ 2011-03-26 10:08:27
Error occurred while mounting usb stick via the device notifier
org.freedesktop.UDisks.Error.PermissionDenied: Not Authorized
Sol: Add a file named with .pkla suffix in /etc/polkit-1/localauthority/50-local.d/
ex:
/etc/polkit-1/localauthority/50-local.d/mount.pkla

and stuff the following contents into it
[Mount system internal media for group storage]
Identity=unix-group:storage
Action=org.freedesktop.udisks.filesystem-*
ResultAny=yes
ResultInactive=yes
ResultActive=yes