eject: unable to eject, last error: Invalid argument
Peter Garrett
peter.garrett at optusnet.com.au
Tue Jun 28 15:56:04 UTC 2005
On Mon, 27 Jun 2005 15:08:49 -0400
Matt Patterson <matt at v8zman.com> wrote:
> When I try to eject a CD using either the right click option, or typing
> into the command line, I am only able to get the cd to come out if I use
> sudo. If I dont use sudo, I get:
>
> eject: unable to eject, last error: Invalid argument
>
> and the cd doesnt come out. If I use sudo, the same error appears, but
> the cd does come out.
>
> I am a member of the cdrom group.
>
> Any idea how to make this work properly?
>
> Matt
Hi Matt,
I had the same issue with eject. My solution involves making "eject" SUID root:
sudo chmod +x /usr/bin/eject
I guess this could be regarded as a security risk, but I'm on a small home network and it solves the problem for me.
Peter
More information about the ubuntu-users
mailing list