Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices

From: Jens Axboe
Date: Mon Aug 09 2004 - 10:28:49 EST


On Mon, Aug 09 2004, Joerg Schilling wrote:
>
> >From: Jens Axboe <axboe@xxxxxxx>
>
> >On Mon, Aug 09 2004, Alan Cox wrote:
> >> On Llu, 2004-08-09 at 13:24, Joerg Schilling wrote:
> >> > On Linux, it is impossible to run cdrecord without root privilleges.
> >> > Make cdrecord suid root, it has been audited....
> >>
> >> Wrong. Although in part that is a bug in the kernel urgently needing
> >> a fix.
>
> >Even with that fixing, write privileges on the device would be enough.
> >So root would still not be required.
>
> Please try again after you had a look into the cdrtools sources.
>
> Cdrecord also needs privilleges to lock memory and to raise prioirity.

They are not required, or at least not with the version I use. It warns
of failing to set priority and lock memory, I can continue fine though.
With the casual burning of CDs I do, it's never been a problem.

--
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/