/start rant

A short vent of evil Udisks default policy of having to enter a password to mount a partition when in a GUI file manager. I boot the desktop up and if I open thunar, I should be able to open my music partition without getting prompted for a freakin root password. In the past I have simply edited /usr/share/polkit-1/actions/org.freedesktop.udisks.policy and under internal drive changed it to yes active to avoid the annoying situation. So I get the latest updates and discover we now have org.freedesktop.udisks2.policy which is now the new default file and just as annoying. I could simply edit that file, but be stuck with each time an update comes along it gets rewritten to default. Zomg super annoying! As a desktop user I should have access to my partitions without having to jump through hoops. So I browsed around and on the archwiki found a simple solution, Override that evil thing!

So I did:
groupadd storage
gpasswd -a wolfden storage

nano /etc/polkit-1/localauthority/50-local.d/10-storage-group-mount-override.pkla
and put in that file
[storage group mount override]

Restart and no more freakin password prompt to access my media files, sanity returns back to the desktop user. Sometimes trying to figure out the direction of linux is frustrating. Desktop environments are moving in a direction of making it so simple to use that a toddler can run it, but than you got something like udisks making it annoying with it’s default policies. I could understand the default policy of udisks if on a server machine, but not for a desktop user.

/end rant

Similar Posts