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

From: Måns Rullgård
Date: Mon Aug 09 2004 - 08:02:24 EST


Joerg Schilling <schilling@xxxxxxxxxxxxxxxxxxx> writes:

>>From: Eric Lammerts <eric@xxxxxxxxxxxx>
>
>>On Fri, 6 Aug 2004, Joerg Schilling wrote:
>>> The CAM interface (which is from the SCSI standards group)
>>> usually is implemeted in a way that applications open /dev/cam and
>>> later supply bus, target and lun in order to get connected
>>> to any device on the system that talks SCSI.
>>>
>>> Let me repeat: If you believe that this is a bad idea, give very
>>> good reasons.
>
>>With this interface, how do you grant non-root users access to a CD
>>writer, but prevent them from directly accessing a SCSI harddisk?
>
> On Linux, it is impossible to run cdrecord without root privilleges.

I do it all the time, but then again I also use dev=/dev/hdc which is
also supposedly impossible.

> Make cdrecord suid root, it has been audited....

By whom? The author?

--
Måns Rullgård
mru@xxxxxx

-
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/