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

Re: cdrecord and newer Linux kernels



On Thu, Nov 10, 2005 at 11:47:29PM +0000, Steve McIntyre wrote:
> In kernel 2.6.8 and later, SCSI generic commands are verified for
> safety. This may be a reasonable measure in some respects, but it
> makes effective non-root CD/DVD burning rather difficult. For best
> performance cdrecord, growisofs and friends may often need to send
> SCSI commands to drives that the kernel may neither know about nor
> understand. And (to add to the pain) these commands are very often
> vendor- or device-specific, so simply allowing those commands in the
> kernel will defeat the point of the verification in the first place.

The whole point of the verification is to allow safe access to a
selected set of raw commands for normal users.  root (or rather
a process that has CAP_SYS_RAWIO) can send any command.  if you need
unknown commands just make sure to burn as root, as everything else
would be unsafe anyway.



Reply to: