On Monday 24 Jan 2005 06:59, Alessandro Suardi wrote: > On Sun, 23 Jan 2005 21:26:55 +0100, Volker Armin Hemmann > > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > have you checked, that cdrecord is not suid root, and > > growisofs/dvd+rw-tools is? > > > > I had some probs, solved with a simple chmod +s growisofs :) > > Lucky you. Burning as root here, cdrecord not suid. Tried also > burning with a +s growisofs, but...
You can test if it's the kernel/growisofs clashing by hacking the drivers/block/scsi_ioctl.c code It's around line 193 in 2.6.9, and line 196 in 2.6.10 not sure about 2.6.11 find the code: /* Write-safe commands just require a writable open.. */ if (type & CMD_WRITE_SAFE) { if (file->f_mode & FMODE_WRITE) return 0; } edit it to something like: /* Write-safe commands just require a writable open.. */ if (type & CMD_WRITE_SAFE) { printk ("Write safe command in "); if (file->f_mode & FMODE_WRITE) printk ("write mode.\n"); else printk ("read mode.\n"); return 0; } Compile the kernel with that and that may make it work and burn dvd and let you know if it's growisofs sending incorrect commands. You'll get messages in dmesg like Write safe command in read mode. which means growisofs is still not right. Maybe later version fixed this? tim -- --------------------------------------------------------- Tim & Therese Fairchild Atchafalaya Border Collies. Kuttabul, Queensland, Australia. --------------------------------------------------------- Email mailto:[EMAIL PROTECTED] Homepage http://www.bcs4me.com Photos http://www.pbase.com/amosf --------------------------------------------------------- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/