Package: cdrecord Version: 4:2.01+01a03-5 I normally have cdrecord installed suid root, but this should not be absolutely necessary on my system, as my device permissions allow me to access the CD drives:
[EMAIL PROTECTED] ~$ ls -l /dev/scd* /dev/sg* brw-rw---- 1 root cdrom 11, 0 Jun 5 14:05 /dev/scd0 brw-rw---- 1 root cdrom 11, 1 Jun 5 14:05 /dev/scd1 crw-rw---- 1 root root 21, 0 Jun 5 14:05 /dev/sg0 crw-rw---- 1 root cdrom 21, 1 Jun 5 14:05 /dev/sg1 crw-rw---- 1 root cdrom 21, 2 Jun 5 14:05 /dev/sg2 The permissions on sg0 are correct since it is a hard drive. However, it seems to cause cdrecord to fail on "-scanbus": [EMAIL PROTECTED] ~$ cdrecord -scanbus Cdrecord-Clone 2.01.01a03 (i686-pc-linux-gnu) Copyright (C) 1995-2005 Joerg Schilling NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord and thus may have bugs that are not present in the original version. Please send bug reports and support requests to <[EMAIL PROTECTED]>. The original author should not be bothered with problems of this version. cdrecord: Warning: Running on Linux-2.6.16-ws2 cdrecord: There are unsettled issues with Linux-2.5 and newer. cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris. Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 second. Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 second. Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 second. Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 second. Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 second. Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 second. Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 second. Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 second. Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 second. Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 second. cdrecord: Permission denied. Cannot open '/dev/sg0'. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root. cdrecord: For possible transport specifiers try 'cdrecord dev=help'. cdrecord: cdrecord: For more information, install the cdrtools-doc cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup . If I reconfigure cdrecord to be suid root, the "-scanbus" completes successfully: [EMAIL PROTECTED] ~$ cdrecord -scanbus Cdrecord-Clone 2.01.01a03 (i686-pc-linux-gnu) Copyright (C) 1995-2005 Joerg Schilling NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord and thus may have bugs that are not present in the original version. Please send bug reports and support requests to <[EMAIL PROTECTED]>. The original author should not be bothered with problems of this version. cdrecord: Warning: Running on Linux-2.6.16-ws2 cdrecord: There are unsettled issues with Linux-2.5 and newer. cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris. Linux sg driver version: 3.5.33 Using libscg version 'debian-0.8debian2'. cdrecord: Warning: using inofficial version of libscg (debian-0.8debian2 '@(#)scsitransp.c 1.91 04/06/17 Copyright 1988,1995,2000-2004 J. Schilling'). scsibus0: 0,0,0 0) 'SEAGATE ' 'ST336607LW ' '0006' Disk 0,1,0 1) * cdrecord: Warning: controller returns wrong size for CD capabilities page. 0,2,0 2) 'PIONEER ' 'DVD-ROM DVD-303R' '2.00' Removable CD-ROM 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) 'YAMAHA ' 'CRW3200S ' '1.0d' Removable CD-ROM 0,7,0 7) * I would suggest that cdrecord should skip the device that it is unable to access, rather than aborting the scan. FWIW, cdrdao has the same problem (and I'll file a separate bug for it). Let me know if I can help somehow. Thanks. -- graham -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]