You are not logged in.

#1 2011-12-22 18:41:30

sidra
Member
Registered: 2011-12-22
Posts: 24

[Solved] Udev mount internal drives as normal user not working ?

Hi, fellow arch users smile
I followed : The wiki on udev to make partitions on internal hdd mount without needing a password, but it doesn't work.
I am still asked for password when mounting volumes from thunar.

Any Ideas on how to fix it ?

Last edited by sidra (2012-10-18 13:08:20)

Offline

#2 2011-12-23 01:16:50

siouxfox
Member
Registered: 2011-11-25
Posts: 27

Re: [Solved] Udev mount internal drives as normal user not working ?

open /usr/share/polkit-1/actions/org.freedesktop.udisks.policy
and change

<allow_active>auth_admin_keep</allow_active>

to

<allow_active>yes</allow_active>

in <action id="org.freedesktop.udisks.filesystem-mount-system-internal">

Last edited by siouxfox (2011-12-23 01:29:54)

Offline

#3 2011-12-23 03:03:59

sidra
Member
Registered: 2011-12-22
Posts: 24

Re: [Solved] Udev mount internal drives as normal user not working ?

siouxfox wrote:

open /usr/share/polkit-1/actions/org.freedesktop.udisks.policy
and change

<allow_active>auth_admin_keep</allow_active>

to

<allow_active>yes</allow_active>

in <action id="org.freedesktop.udisks.filesystem-mount-system-internal">

Woot! That worked. Thank you smile

Maybe I should add it to the wiki ? As a note for example?

Offline

#4 2011-12-23 23:49:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Udev mount internal drives as normal user not working ?

If it's not already in the wiki, yes, please add it.

And remember to mark this thread as solved :-)

Offline

#5 2011-12-24 00:28:46

grandmouse
Member
From: germany, bonn
Registered: 2005-05-14
Posts: 90

Re: [Solved] Udev mount internal drives as normal user not working ?

https://wiki.archlinux.org/index.php/Ud … ormal_user

create a .pkla file instead of editing a file that is owned by udisks

Offline

#6 2011-12-24 00:34:29

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Udev mount internal drives as normal user not working ?

grandmouse wrote:

https://wiki.archlinux.org/index.php/Ud … ormal_user

create a .pkla file instead of editing a file that is owned by udisks

OP said it didn't work for him.

Offline

#7 2011-12-24 03:00:00

grandmouse
Member
From: germany, bonn
Registered: 2005-05-14
Posts: 90

Re: [Solved] Udev mount internal drives as normal user not working ?

..it happens, sorry about that but wiki is always right.

"dbus-launch should actually be called after ck-launch-session, otherwise there will be authorization problems when mounting disks as a regular user" (xfce4 wiki)

The snippet from /etc/skel/.xinitrc should be commented out in ~/.xinitrc

#!/bin/sh

#if [ -d /etc/X11/xinit/xinitrc.d ]; then
#  for f in /etc/X11/xinit/xinitrc.d/*; do
#    [ -x "$f" ] && . "$f"
#  done
#  unset f
#fi

exec ck-launch-session startxfce4

I assume he runs this snippet, otherwise it would work for him.

Offline

Board footer

Powered by FluxBB