You are not logged in.

#1 2012-05-07 14:57:01

From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 3,570

Howto deal with permission/mounting issues after Udisks update

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.
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!

Check if you are in the storage group:

groups paul

replace paul with your username
to find out if you are in storage; if not

groupadd storage
gpasswd -a paul storage

(replace paul with your username)
Then create this file (being outside the /home environment you have to do this as root):

#nano /etc/polkit-1/localauthority/50-local.d/10-storage-group-mount-override.pkla

and put in that file

[storage group mount override]

Ctrl+o and enter to write the nano file and ctrl+x and enter to close nano.

If you already have a 10-udiks.pkla file just edit to


in stead of 


source: … anity-back

If  you have another pkla file that overrules your new pkla file in
/etc/polkit-1/localauthority/50-local.d/ it may be necessary to change "udisks" to "udisks2"  there too.

This is also related:
Check this out if this al doesn't solve the problem for you.

Another permission error regarding mounting relates to a slim update that has consequences  for polkit; so also see

Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
On Arch(bang) and Openbox:


Board footer

Powered by FluxBB