[arch-general] CD eject as non-root user
C Anthony Risinger
anthony at xtfx.me
Thu Aug 18 15:37:05 EDT 2011
On Thu, Aug 18, 2011 at 2:25 PM, Heiko Baums <lists at baums-on-web.de> wrote:
> Am Thu, 18 Aug 2011 16:07:35 -0300
> schrieb Norbert Zeh <nzeh at cs.dal.ca>:
>
>> Are you sure this worked for you with 3.0.1? If it did, then your
>> issue and mine seem to be unrelated. I just downgraded to 3.0.1-1
>> and once again was not able to run eject as non-root user, even
>> immediately after a reboot.
>
> At least on Monday I tried to copy an audio CD. And this has worked. At
> least the image could be created. So /dev/sr0 must have been there. And
> since linux 3.0.2-1 was created on Tuesday it must have been working
> with linux 3.0.1-1. But I can't downgrade anymore, because I've
> deleted the package from the cache.
>
> Regarding the eject issue I'm still pretty sure, that this can only be
> done by root. I have this issue with other USB devices, too.
the last link by Karol makes it fairly clear that `eject` is
misbehaving (unmaintained?)
... per Tom:
sg_prevent --allow /dev/sr0
... unlocks the device after which `eject` works properly as user (for
next open/close at least)
--
C Anthony
More information about the arch-general
mailing list