You are not logged in.

#1 2013-03-05 14:47:15

tomva
Member
Registered: 2013-03-05
Posts: 3

[SOLVED] Internal partitions fail to mount

Hello,

Whenever I try to mount an internal partition, I get this message:
"Not authorized to perform operation"

Manual mount nor automount work
I have this error in every file explorer (thunar, caja, pcmanfm)  I've tried, so I think it's the configuration of udiskie, or another configuration file.
I've searched the forums for this problem, but none of the solutions worked for me.

Configuration files:

~/.xinitrc:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

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

#[[ -f ~/.Xresources ]] && 
xrdb -merge ~/.Xresources
sh ~/.fehbg &
sh ~/.startconky &
xbindkeys &
udiskie &
exec spectrwm

/etc/polkit-1/localauthority/50-local.d/10-udiskie.pkla:

 [Local Users]
 Identity=unix-group:storage
 Action=org.freedesktop.udisks.*
 ResultAny=yes
 ResultInactive=no
 ResultActive=yes

/etc/fstab

#
# /etc/fstab: static file system information
#
# <file system> <dir>   <type>  <options>       <dump>  <pass>
# /dev/sda9 LABEL=ARCHSYSTEM
UUID=1fdb1a06-9334-4d34-91f4-5c1b7b9d4096       /               ext4         $

# /dev/sda8 LABEL=ARCHBOOT
UUID=4fa1ea0e-9816-488a-adfe-c3102de4a5a6       /boot           ext2         $

# /dev/sda7
UUID=db274fa1-d9c4-4997-b228-32656c630fc0       none            swap         $

Output of "groups tom" (tom is my username in arch)

wheel storage users

I tried changing this line in the 10-usdiskie.pkla file from
Action=org.freedesktop.udisks.*
to  Action=org.freedesktop.udisk2.*
and Action=org.freedesktop.udisks2.*
without succes.

Can somebody see what the problem is?
I'm using Arch 64 bit with SpectrWM and SLIM

Greetings,

Tomva

Last edited by tomva (2013-03-06 17:52:06)

Offline

#2 2013-03-05 17:37:44

itman
Member
From: Switzerland
Registered: 2010-05-21
Posts: 124

Re: [SOLVED] Internal partitions fail to mount

maybe you need to add this to your org.freedesktop.udisks2.pkl file. If it does not exist, create it below 50-local.d.

Action=org.freedesktop.udisks2.filesystem-mount;org.freedesktop.udisks2.modify-device

Offline

#3 2013-03-05 20:53:09

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

Re: [SOLVED] Internal partitions fail to mount

I would just use fstab since you say its an internal partition.

Offline

#4 2013-03-06 17:51:48

tomva
Member
Registered: 2013-03-05
Posts: 3

Re: [SOLVED] Internal partitions fail to mount

anonymous_user wrote:

I would just use fstab since you say its an internal partition.

Yeah, I thought maybe there's an automated way to do this. Anyhow, your suggestion worked. I manually edited fstab to mount these partitions

Thank you

Offline

#5 2013-03-07 04:56:12

silverzhao
Member
Registered: 2011-07-05
Posts: 33

Re: [SOLVED] Internal partitions fail to mount

I just edit the file /usr/share/polkit-1/actions/org.freedesktop.udisks2.policy, find this and change "auth_admin_keep" to "yes", like:

<action id="org.freedesktop.udisks2.filesystem-mount-system">
...
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>yes</allow_active>
     </defaults>
</action>

What you are you do not see, what you see is your shadow.

Offline

#6 2013-04-17 20:25:42

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

Re: [SOLVED] Internal partitions fail to mount

"org.freedesktop.udisks2.filesystem-mount-system-internal" is droped? not found in /usr/share/polkit-1/actions/org.freedesktop.udisks2.policy :S

Offline

Board footer

Powered by FluxBB