You are not logged in.

#1 2012-06-19 14:15:20

Lennie
Member
From: Sweden
Registered: 2011-10-12
Posts: 146

[Solved]Not authorized to mount other partitions in Thunar after upgr

Before, I could mount other partitions by clicking on them in Thunar, and it asked for may password. But now suddenly I can't mount them at all.  'Failed to mount "Label". Not autohorized to perform operation.' is the message I get. It's the same problem with two computers.

I have Openbox and Slim. Slim is started as a daemon in rc.conf.
My .xinitrc:

#!/bin/bash
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
numlockx &
/usr/bin/xscreensaver -no-splash &
exec dbus-launch openbox-session

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

[storage group mount override]
Identity=unix-group:storage
Action=org.freedesktop.udisks2.filesystem-mount
ResultAny=yes
ResultInactive=yes
ResultActive=yes

I have googled and read the wiki, but I can't find what has changed.

Last updates:

[2012-06-15 19:48] upgraded linux (3.3.8-1 -> 3.4.2-2)
[2012-06-15 19:48] installed pambase (20120602-1)
[2012-06-15 19:48] upgraded pam (1.1.5-3 -> 1.1.5-4)
[2012-06-15 19:48] upgraded unrar (4.2.3-1 -> 4.2.4-1)
[2012-06-15 19:48] upgraded virtualbox-modules (4.1.16-1 -> 4.1.16-2)
[2012-06-16 19:29] upgraded firefox (13.0-2 -> 13.0.1-1)
[2012-06-16 19:29] upgraded libdrm (2.4.33-1 -> 2.4.35-1)
[2012-06-16 19:29] upgraded libglapi (8.0.3-2 -> 8.0.3-3)
[2012-06-16 19:29] upgraded libgl (8.0.3-2 -> 8.0.3-3)
[2012-06-16 19:29] upgraded intel-dri (8.0.3-2 -> 8.0.3-3)
[2012-06-16 19:29] upgraded libpng (1.5.10-1 -> 1.5.11-1)
[2012-06-16 19:29] installed khrplatform-devel (8.0.3-3)
[2012-06-16 19:29] installed libegl (8.0.3-3)
[2012-06-16 19:29] upgraded libva (1.0.15-1 -> 1.1.0-1)
[2012-06-16 19:29] upgraded libva-driver-intel (1.0.17-1 -> 1.0.18-1)
[2012-06-16 19:29] upgraded mesa (8.0.3-2 -> 8.0.3-3)
[2012-06-16 19:29] upgraded mkinitcpio (0.9.2-1 -> 0.9.2-2)
[2012-06-16 19:29] upgraded thunderbird (13.0-1 -> 13.0.1-1)

Last edited by Lennie (2012-06-21 12:10:28)

Offline

#2 2012-06-19 14:51:12

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [Solved]Not authorized to mount other partitions in Thunar after upgr

Reboot. Especially if you see a difference between:

$ uname -r && pacman -Q linux
3.4.2-2-ARCH
linux 3.4.3-1

It means that you upgraded the kernel (the linux package) and didn't reboot.


By the way, about your ~/.xinitrc:

https://wiki.archlinux.org/index.php/Op … d-alone_WM

If you also use PolicyKit and D-Bus (e.g. for automatically mounting drives in Nautilus/GNOME) use:

exec ck-launch-session dbus-launch openbox-session

Note: dbus-launch must be placed after ck-launch-session or you will experience mounting problems.

Last edited by DSpider (2012-06-19 14:52:16)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#3 2012-06-19 16:01:51

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [Solved]Not authorized to mount other partitions in Thunar after upgr

Actually Lennie's ~/.xinitrc doesn't need ck-launch-session since he/she is using Slim.

BTW for your pkla rule, did you make sure you were in the storage group?

Last edited by anonymous_user (2012-06-19 16:02:32)

Offline

#4 2012-06-19 16:16:38

Lennie
Member
From: Sweden
Registered: 2011-10-12
Posts: 146

Re: [Solved]Not authorized to mount other partitions in Thunar after upgr

I had not installed a new kernel without rebooting, so that was not the problem.

Strange, after installing the latest updates it works on one machine. It asks for my password, I would prefer to not need to type in my password, but most important is that it works, with or without password. But on the other computer it still doesn't work... I installed the same updates and rebooted. I just can't see what's the difference between them. Both have Openbox and Slim. It's the same .xinitrc, same pkla rule.

I'm in storage group.

Offline

#5 2012-06-19 16:21:00

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [Solved]Not authorized to mount other partitions in Thunar after upgr

Also since you use Slim (and ConsoleKit), why have the pkla file? Maybe try logging into Openbox without Slim (just use startx).

Offline

#6 2012-06-19 16:43:00

Lennie
Member
From: Sweden
Registered: 2011-10-12
Posts: 146

Re: [Solved]Not authorized to mount other partitions in Thunar after upgr

I tried and rebooted without Slim, but no difference. I had some error at login. First time I didn't even see "Log in" because of all errors that was shown after. I don't think it's related, but it was about:

ieee 80211 phy0: brcms_ops_bss_info_changed:qos enabled: false (implement)
ieee 80211 phy0: brcms_ops_config: change power_save mode: false
ieee 80211 phy0: brcms_ops_bss_info_changed:arp filtering enable
ieee 80211 phy0: brcms_ops_bss_info_changed:qos enabled: true (implement)

The pkla file is from the wiki page about Thunar.

Offline

#7 2012-06-21 12:09:33

Lennie
Member
From: Sweden
Registered: 2011-10-12
Posts: 146

Re: [Solved]Not authorized to mount other partitions in Thunar after upgr

Solved by changing
/etc/polkit-1/localauthority/50-local.d/10-storage-group-mount-override.pkla
to:

[storage group mount override]
Identity=unix-group:storage
Action=org.freedesktop.udisks2.filesystem-mount;org.freedesktop.udisks2.filesystem-mount-system
ResultAny=yes
ResultInactive=yes
ResultActive=yes

That also changed it to not ask for my password.

Offline

#8 2012-06-21 19:56:58

AyeCapn
Member
Registered: 2012-05-17
Posts: 23

Re: [Solved]Not authorized to mount other partitions in Thunar after upgr

I had this same thing happen after the June 1 upgrade to some NTFS external hard drives. I ended up using

chown

on everything to my username. It works, but not sure what will happen if I ever need to plug it into a Windows machine...


"I just don't know what went wrong" - Derpy

Offline

Board footer

Powered by FluxBB