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

Måns Rullgård
2004-08-09T13:00:52Z

Joerg Schilling <schilling@fokus.fraunhofer.de> writes:

>>From: Eric Lammerts <eric@lammerts.org>
>
>>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@kth.se