Re: growisofs stopped working with 2.6.8

From: Tony A. Lambley
Date: Mon Aug 16 2004 - 13:03:21 EST


It still fails, but I get a different message with the patch:

$ growisofs -Z /dev/dvd=file.iso
Executing 'builtin_dd if=file.iso of=/dev/dvd obs=32k seek=0'
:-( unable to PREVENT MEDIA REMOVAL: Operation not permitted

K3B fails with the same message as above.

As you say, it does indeed burn fine as root.


On Mon, 2004-08-16 at 12:01, Alan Cox wrote:
> 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),

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