You are not logged in.
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:
Do
groups paulreplace 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.pklaand put in that file
[storage group mount override]
Identity=unix-group:storage
Action=org.freedesktop.udisks2.filesystem-mount-system
ResultAny=yes
ResultInactive=yes
ResultActive=yesCtrl+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
org.freedesktop.udisks2.filesystem-mount-systemin stead of
org.freedesktop.udisks.filesystem-mount-systemsource: http://www.sabayon.org/article/argh-udi … 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: http://bbs.archbang.org/viewtopic.php?pid=14243#p14243
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
http://bbs.archbang.org/viewtopic.php?id=2744
Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/
Offline