Re: CD eject as non-root user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Tom Gundersen [2011.08.19 0011 +0200]:
> On Thu, Aug 18, 2011 at 6:44 PM, Norbert Zeh <nzeh@xxxxxxxxx> 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.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux