This doesn't work to me, I'm not in a clean installation and all my packages are already updated.
Playing with the policies mentioned by @joost, I've discovered that changing the action
filesystem-mount (and others necessary to mount as filesystem-mount-system-internal and filesystem-check) in
/usr/share/polkit-1/actions/org.freedesktop.udisks.policy to
yes in the key
allow_any and restarting consolekit
- Code: Select all
# /etc/init.d/consolekit restart
Allows to any normal user to mount drives
- Code: Select all
$ udisks --mount /dev/sda2
Mounted /org/freedesktop/UDisks/devices/sda2 at /media/BIT
But this looks like dangerous, so changing to
auth_admin_keep- Code: Select all
$ udisks --mount /dev/sda2
Mount failed: Authentication is required
This could be great, but from XFCE it stills doesn't ask me for authentication. Now instead of "Not Authorized" it says "Authentication is required".
:'(