You are not logged in.

#1 2014-03-03 18:12:07

kamrava
Member
Registered: 2013-12-08
Posts: 75

(SOLVED) Thunar - Not authorized to perform operation.

I have updated my system by following command :

$ sudo pacman -Syyu

After updating, when I open a Drive it gets me :

Failed to mount "Drive Name".
Not authorized to perform operation.

I saw many threads about this problem my problem does not solved!!

Last edited by kamrava (2014-03-04 19:09:56)

Offline

#2 2014-03-03 18:29:00

cedeel
Member
From: ~
Registered: 2009-08-25
Posts: 176
Website

Re: (SOLVED) Thunar - Not authorized to perform operation.

What groups are you in?

Offline

#3 2014-03-03 18:48:36

kamrava
Member
Registered: 2013-12-08
Posts: 75

Re: (SOLVED) Thunar - Not authorized to perform operation.

cedeel wrote:

What groups are you in?

How could I find it?
I think `%wheel`

Offline

#4 2014-03-03 20:50:03

armandopk
Member
Registered: 2012-11-13
Posts: 19
Website

Re: (SOLVED) Thunar - Not authorized to perform operation.

you have installed polkit/lxpolkit?

Offline

#5 2014-03-03 21:18:20

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: (SOLVED) Thunar - Not authorized to perform operation.

Open a terminal and type "groups"...

Offline

#6 2014-03-03 22:23:17

Steef435
Member
Registered: 2013-08-29
Posts: 577
Website

Re: (SOLVED) Thunar - Not authorized to perform operation.

I got it to work using this rule:
Allow mounting a filesystem on a system device for any user

However, in this thread it did not work, at least not with automounting. Perhaps some of the other solutions mentioned work.

Last edited by Steef435 (2014-03-03 22:23:43)

Offline

#7 2014-03-03 22:29:13

woomia
Member
Registered: 2012-06-09
Posts: 111

Re: (SOLVED) Thunar - Not authorized to perform operation.

Udiskie is what I use. Add it to your start up script for your WM and off you go.

Offline

#8 2014-03-04 06:05:46

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: (SOLVED) Thunar - Not authorized to perform operation.

I can confirm what woomia recommends. Also for me the Thunar/gvfs/thunar-volman combination does not work. See this bug report:

https://bugs.archlinux.org/task/38933#comment119964

Instead I am now using udiskie with udisks2 flag as well.

udiskie -2 -s &

Last edited by orschiro (2014-03-04 06:06:02)

Offline

#9 2014-03-04 08:06:29

kamrava
Member
Registered: 2013-12-08
Posts: 75

Re: (SOLVED) Thunar - Not authorized to perform operation.

armandopk wrote:

you have installed polkit/lxpolkit?

It was the trick.. It works thank you.

But when I try to open Drive for first time, it aks me about root password. How do I prevent this treatment?

Offline

#10 2014-03-04 14:47:52

Steef435
Member
Registered: 2013-08-29
Posts: 577
Website

Re: (SOLVED) Thunar - Not authorized to perform operation.

Have you tried this polkit rule I linked to earlier? Allow mounting a filesystem on a system device for any user
You could make a rule for your user or group only.

Offline

#11 2014-03-04 19:08:41

kamrava
Member
Registered: 2013-12-08
Posts: 75

Re: (SOLVED) Thunar - Not authorized to perform operation.

Steef435 wrote:

Have you tried this polkit rule I linked to earlier? Allow mounting a filesystem on a system device for any user
You could make a rule for your user or group only.

Solved. Thank you

Offline

#12 2014-03-06 07:35:38

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: (SOLVED) Thunar - Not authorized to perform operation.

So, just to confirm. Creating the polkit rule does enable even automounting for you?

This is not working for me, even with the udev rule: https://bugs.archlinux.org/task/38933#comment119964

Offline

#13 2015-02-23 20:26:48

zeus86
Member
Registered: 2011-05-13
Posts: 2

Re: (SOLVED) Thunar - Not authorized to perform operation.

maybe you are using udisks 2. edits made to "/usr/share/polkit-1/actions/org.freedesktop.udisks.policy" may no longer apply to every disk, especially when its flagged as "*-internal" (i dont know how udisks separates these, but i guess that all non-usb devices are "internal").

so take a look for "org.freedesktop.udisks2.policy" instead.
also check

loginctl show-session $XDG_SESSION_ID|grep Active

. If you are "active" set

      <allow_active>yes</allow_active>

in

org.freedesktop.udisks2.filesystem-mount (default) and 
org.freedesktop.udisks2.filesystem-mount-system

otherwise try to get active or edit <allow_any> or <allow_inactive>

works fine for me; this harrasses me, because i didn't notice udisks2 to became active.

Offline

#14 2015-02-23 20:34:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: (SOLVED) Thunar - Not authorized to perform operation.

Please don't necrobumpm, particularly solved threads: https://wiki.archlinux.org/index.php/Fo … Bumping.27



Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB