Re: trixie: cdrecord can no longer write to CD
On 2025-11-17, Thomas Schmitt <scdbackup@gmx.net> wrote:
> Hi,
>
> i found the new SCSI command whitelist of Linux in
> https://sources.debian.org/src/linux/6.17.8-1/drivers/scsi/scsi_ioctl.c?hl=301#L267
> (One just has to ask sources.debian.org the right question.)
Isn't that a boolean whitelist?
I've read that MMC devices require additional MMC specific commands that
are not whitelisted (wodim's raw SCSI commands as opposed
to cdrskin/libburn's block device packet writing).
Of course, you should know, I guess.
> The list of CD related commands looks complete to me. At least for
> libburn and a virtual DVD-ROM everything seems to work.
>
> The comment
>
> * Only a subset of commands are allowed for unprivileged users. Commands used
> * to format the media, update the firmware, etc. are not permitted.
>
> is partly wrong, as GPCMD_FORMAT_UNIT and GPCMD_BLANK are allowed with
> w-permission. Burn programs use them with some media types to make them
> ready for writing.
>
>
> Have a nice day :)
>
> Thomas
>
>
Reply to: