You are not logged in.
I'm running the latest available gnome, dbus and hal. When I try to unmount a flash drive from a program, which was previously mounted automatically by gnome-volume-manager, I get and access denied error from dbus:
unmount failed for /org/freedesktop/Hal/devices/volume_uuid_F398_7C6F: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Unmount" error name "(unset)" destination "org.freedesktop.Hal")
Can I just add myself to some group or I need to play with hal/dbus config files?
///
edit:
Ok, a more simple example: in gnome I put in a cd, and when I click Eject, I see that only root can do that - but I wanna be able to do that as well.
umount: only root can unmount /dev/hdb from /media/cdrom
eject: unmount of `/media/cdrom' failed
Please help.
Offline
I added myself to dbus and hal groups in /etc/group. Now here's what happens: I plug in a flash drive, and it's mounted by g-v-m. (Within gnome) I unmount it, but also get this error:
Unable to eject media
eject: unable to open `/dev/sdc1'
Similarly, ejecting a cd now results in only unmounting, but not physical ejection.
Why is unmounting a flash calling eject anyway?
On the other hand, I still can't neither mount nor unmount a volume from my program, but now I get an unknown error from hal.
Offline
I upgraded my 2.6.15 kernel (found a post where it's being mentioned as a possible kernel bug), and now it's okay in gnome, although i still can't mount/unmount programmatically.
Offline
Do you have entries for your devices in /etc/fstab? And do you have the "user" or "users" options set there?
About ejecting, it's probably just taken from the cdrom ejecting, however some hardware may lock up the usb masstorage unit so it's irremovable without umounting... I've experienced that on a compaq lappie before. That might also be an explination.
Offline
I don't have an entry for the flash drive, I tried with it and it gave me some other errors...
I also had a big problem of not being able to use my cdrw, which i posted about but unfortunately no one seems to have encountered a similar situation.
My primary reason for trying Arch is that I need some development packages to be always fresh, but I've spent a couple of days just dealing with these basic stuff which i never had a problem with before and setting up some other things and I didn't get an impression that I gained a lot. So i've just installed fedora 5 test 3. Perhaps i'll return to arch some other time.
Thanks for your help anyway...
Offline
Similarly, ejecting a cd now results in only unmounting, but not physical ejection.
You will need to install the "eject" package
Offline