You are not logged in.
Pages: 1
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
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
I would just use fstab since you say its an internal partition.
Offline
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
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
"org.freedesktop.udisks2.filesystem-mount-system-internal" is droped? not found in /usr/share/polkit-1/actions/org.freedesktop.udisks2.policy :S
Offline
Pages: 1