You are not logged in.

#1 2012-12-07 20:39:43

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Thunar unable to unmount a USB drive

I have Thunar with gvfs and thunar-volman installed. When I insert my USB pen drive it gets automounted to /media/USB_DISK and I can copy/delete files from the drive within Thunar. However when I attempt the Thunar "disconnect", which is supposed to unmount the drive it throws an error: "umount failed: Operation not permitted.".

Any ideas why?


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#2 2012-12-07 20:55:01

root
Member
From: 127.0.0.1
Registered: 2012-04-13
Posts: 297

Re: Thunar unable to unmount a USB drive

Are you in the usb when trying to unmount it?

If so, go to your /home or any other place, as long as it is not the usb, and then try again to unmount.


\(o_X)/
                        'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols

Offline

#3 2012-12-07 21:24:09

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: Thunar unable to unmount a USB drive

No, that does not work, still same error.


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#4 2012-12-07 21:29:04

Šaran
Member
From: Bosnia
Registered: 2011-09-03
Posts: 407

Re: Thunar unable to unmount a USB drive

How do you start your DE/WM? Do you have dbus-launch in .xinitrc?
If not, add following:

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

Offline

#5 2012-12-08 02:29:43

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: Thunar unable to unmount a USB drive

Yes, launching dbus in my .xinitrc as per the wiki and your post. Still get error.


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#6 2012-12-08 04:51:19

sa1
Member
Registered: 2011-08-21
Posts: 20

Re: Thunar unable to unmount a USB drive

Confirm if your session is active.

 loginctl --no-pager show-session $XDG_SESSION_ID | grep Active

Then check if you have removed yourself from the storage groups. Also remove any custom storage polkit rules you might have had.

Last edited by sa1 (2012-12-08 04:58:00)

Offline

#7 2012-12-09 19:17:51

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: Thunar unable to unmount a USB drive

Removed self from storage group and I have no polkit rules in place other than the default which says nothing. loginctl is active. Still get error as above in Thunar!


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#8 2012-12-10 13:47:12

sa1
Member
Registered: 2011-08-21
Posts: 20

Re: Thunar unable to unmount a USB drive

Are you sure you are don't have another automounter running?

Offline

#9 2013-01-15 14:04:10

williadc
Member
Registered: 2013-01-15
Posts: 2

Re: Thunar unable to unmount a USB drive

I also have this problem.  I don't think I have any other automounters, but I do use the udev rule "11-media-by-label-auto-mount.rules"  Could that have an effect on this?

Offline

#10 2013-01-15 20:15:10

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Thunar unable to unmount a USB drive

williadc wrote:

I also have this problem.  I don't think I have any other automounters, but I do use the udev rule "11-media-by-label-auto-mount.rules"  Could that have an effect on this?

Definitely, that old udev rule has caused several problems since systemd, etc.  Try renaming or getting rid of it.  Should help.

Last edited by bgc1954 (2013-01-15 20:17:15)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#11 2013-01-23 09:06:17

williadc
Member
Registered: 2013-01-15
Posts: 2

Re: Thunar unable to unmount a USB drive

I'm now able to unmount my external drives.  I'd mark this solved, but it's not my thread.  Thanks!

Offline

Board footer

Powered by FluxBB