Comment 19 for bug 203574

Revision history for this message
Matiss Piesins (matissp) wrote :

If I start nautilus as root, i.e. $sudo nautilus, then I can press the small "eject" icon next to cdrom0 entry in the sidebar and it works.

Previously I thought that it is some privilege problem with gnome-mount. But, what if it is a wrong argument being passed to eject command/call?
Arguments for it:
1) Nautilus sidebar shows "CD-RW/DVD+RW drive" as user, but a simple "cdrom0" as root.
2) Running $eject as user works, but it does not work if run with some wrong identifier:
matiss@lauva:~$ eject CD-RW
eject: unable to find or open device for: `CD-RW'
not surprisingly, requesting "cdrom0" is correct:
matiss@lauva:~$ eject cdrom0
matiss@lauva:~$ (laptop's tray opened)