How can I get rid of password prompt?

Asked by wl2776 on 2010-03-18

I usually mount my usb pendrive with the Krusader.
When I try to unmount it with the Ejecter, it asks for a password.
If I mount the pendrive with the Nautilus, it is unmounted without the password prompt.

I run Gnome desktop, but use Krusader as a file manager, because of its feature richness. I usually don't run Nautilus.
How can I get rid of ejecter's password prompt?

Question information

English Edit question
Ejecter Edit question
No assignee Edit question
Last query:
Last reply:
Federico Pelloni (fredp) said : #1

To be honest I have no idea.
Probably that's happening because Krusader uses a different hardware management system than Nautilus, but I have power on this things as Ejecter sits on top of Gtk/Gnome infrastructure. It's probably up to the two upstream teams (Gnome and Kde folks) to better co-operate

wl2776 (wl2776) said : #2

Ok. I'd like to develop a workaround.
Does the ejecter call umount? If yes, then I could write this command to sudoers.

Krusader seems to use hal.
The file /media/.hal-mtab changes when it mounts/unmounts the flash drive.
When I mount a flash drive using gnome (by clicking Places -> my flash), this file remains unchanged.

Federico Pelloni (fredp) said : #3

Ejecter doesn't call umount, at least directly. It's using the functions provided by Gio/Gtk libraries, that IIRC are getting rid of Hal.
If you mount a drive with Krusader and then try to unmount it with Nautilus does it ask for the password as well? (I think it should)

wl2776 (wl2776) said : #4

Yes, it does.

Federico Pelloni (fredp) said : #5

Then Ejecter will stop asking for the password when Nautilus will, and fixing that is up to the GTK guys

Can you help with this problem?

Provide an answer of your own, or ask wl2776 for more information if necessary.

To post a message you must log in.