Re: growisofs stopped working with 2.6.8

From: Alan Cox
Date: Mon Aug 16 2004 - 12:04:49 EST


On Llu, 2004-08-16 at 17:38, Tony A. Lambley wrote:
> Hi, burning a dvd iso now fails :(
>
> $ growisofs -Z /dev/hdc=file.iso
> :-( unable to GET CONFIGURATION: Operation not permitted
> :-( non-MMC unit?

We fixed some security holes. In doing so we tightened up so a few apps
that worked before no longer work except as root. Thanks for the error
message. Thats helpful as it suggests the following patch.

(and does it help K3B ?)





--- drivers/block/scsi_ioctl.c~ 2004-08-16 18:01:36.627301624 +0100
+++ drivers/block/scsi_ioctl.c 2004-08-16 18:01:36.627301624 +0100
@@ -146,6 +146,7 @@
safe_for_read(GPCMD_READ_TOC_PMA_ATIP),
safe_for_read(GPCMD_REPORT_KEY),
safe_for_read(GPCMD_SCAN),
+ safe_for_read(GPCMD_GET_CONFIGURATION),

/* Basic writing commands */
safe_for_write(WRITE_6),