eject: unable to eject etc: correction!
peter.garrett at optusnet.com.au
Tue Jun 28 16:54:20 UTC 2005
On Wed, 29 Jun 2005 01:56:04 +1000
Peter Garrett <peter.garrett at optusnet.com.au> wrote:
> 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 <<< OOPS sorry!
sudo chmod +s /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.
Sorry about the error....
More information about the ubuntu-users