[arch-general] CD eject as non-root user
Norbert Zeh
nzeh at cs.dal.ca
Thu Aug 18 20:32:18 EDT 2011
Tom Gundersen [2011.08.19 0011 +0200]:
> On Thu, Aug 18, 2011 at 6:44 PM, Norbert Zeh <nzeh at cs.dal.ca> wrote:
> > Hi folks,
> >
> > I have a strange problem with ejecting CDs from my CD drive.
> >
> > As root:
> >
> > eject and eject -t work flawlessly
> > eject -T gives
> >
> > ioctl: Input/output error
> >
> > As non-root user:
> >
> > eject -t closes the tray as expected
> > eject gives
> >
> > eject: unable to eject, last error: Inappropriate ioctl for device
> >
> > eject -T gives the same result as for root
> >
> > It doesn't matter whether I do or do not specify sr0 as the device to
> > eject. The non-root user that I try to execute this command as is in
> > the optical group.
> >
> > I have the same problem on two different machines: my trusty old desktop
> > and a Dell Latitude E6510. Also, all this did work before and stopped
> > working some time not so long ago. So, given that it did work before
> > and happens on two rather different machines, I suspect it to be a
> > result of some package upgrade. Unfortunately, I don't know exactly
> > when this started happening.
> >
> > Does anybody else experience this type of problem? Does anybody have
> > any pointers what may be wrong with my setup?
>
> This is a known problem, and a version of eject which fixes the issue
> is in AUR. Once I have time I'll try to add the needed patches to the
> eject in our repos and push a new release.
Thanks for your efforts, Tom. Much appreciated!
N.
More information about the arch-general
mailing list