You are not logged in.
This comes up all the time, but just about everything I've read from people are workarounds, not solutions. When I double-click a drive icon on my desktop, I get this:
dbus is installed and running
I have XFCE started as "exec ck-launch-session startxfce4"
gvfs is installed
I am a part of the "storage" group
What can I do to mount a storage device as a regular user?
Last edited by synthead (2011-11-21 23:16:49)
Offline
What filesystems are the drives using? Are you using udev rules, /etc/fstab rules? Related?
Last edited by roygbiv (2011-11-21 23:18:45)
Offline
It's using vfat. I haven't set any udev or fstab rules. At this point, I'm starting X via "startx" on the command line, but I'm looking to move to a login manager sometime in the future.
Offline
Try adding something like the following for your disk in /etc/fstab (assuming /dev/sdb here) and try mounting it manually:
/dev/sdb /your/mountdir vfat noauto,user,rw,exec 0 0
The user option is the important option, as it allows for regular users to mount the device. Check out the uid,gid and umask options also.
Last edited by roygbiv (2011-11-21 23:26:47)
Offline
Have you read the note here about the bug? https://wiki.archlinux.org/index.php/Startx#Policykit
Offline
Try adding something like the following for your disk in /etc/fstab (assuming /dev/sdb here) and try mounting it manually:
/dev/sdb /your/mountdir vfat noauto,user,rw,exec 0 0
The user option is the important option, as it allows for regular users to mount the device. Check out the uid,gid and umask options also.
I don't want to explicitly set block devices to specific directories. XFCE used to be able to mount mount any device to /media/label without any configuration.
Have you read the note here about the bug? https://wiki.archlinux.org/index.php/Startx#Policykit
I added dbus-launch to my .xinitrc line and it's still showing the error.
Offline
Well, it was only meant for debugging purposes, not a permanent solution. Are you able to mount it or is it another bug?
Offline
I'm sure if I put it in /etc/fstab I'd be able to mount it.
Offline
I had to install polkit-gnome with the latest thunar update for this to work. If this doesn't solve it for you, I'll point you to another thread with more info.
BTW, what was the storage group is now the disk group. I believe it still won't make a difference here.
Offline
I had to install polkit-gnome with the latest thunar update for this to work. If this doesn't solve it for you, I'll point you to another thread with more info.
BTW, what was the storage group is now the disk group. I believe it still won't make a difference here.
since when? storage and disk have always been different groups. Can you provide a link confirming that?
Having "ck-launch-session dbus-launch" when executing the session and creating (if deleted) the file /etc/polkit-1/localauthority/50-local.d/org.freedesktop.udisks.pkla with the content
[Local Users]
Identity=unix-user:myself
Identity=unix-group:storage
Action=org.freedesktop.udisks.*
ResultAny=yes
ResultInactive=no
ResultActive=yes
did the trick to solve the problem.
Last edited by Viper_Scull (2011-11-22 13:31:42)
Athlon II X4 620 + Gigabyte 785GPM-UD2H + 4GB DDR3 + SSD OCZ Vertex2 60GB
Archlinux x86_64 + Openbox
Offline
David Batson wrote:I had to install polkit-gnome with the latest thunar update for this to work. If this doesn't solve it for you, I'll point you to another thread with more info.
BTW, what was the storage group is now the disk group. I believe it still won't make a difference here.
since when? storage and disk have always been different groups. Can you provide a link confirming that?
IIRC it was introduced in udev-174.
[karol@black ~]$ ls -l /dev/sd*
brw-rw---- 1 root disk 8, 0 11-21 16:29 /dev/sda
brw-rw---- 1 root disk 8, 1 11-21 16:29 /dev/sda1
brw-rw---- 1 root disk 8, 2 11-21 16:29 /dev/sda2
brw-rw---- 1 root disk 8, 3 11-21 16:29 /dev/sda3
brw-rw---- 1 root disk 8, 4 11-21 16:29 /dev/sda4
Edit: https://bugs.archlinux.org/task/26640
Last edited by karol (2011-11-22 13:50:07)
Offline