[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cdrecord / ATAPI

ciol wrote:

Hello, I have got a problem with cdrecord. My CD-writer is an 'ATAPI'.
So I followed these instructions :

# cdrecord dev=ATA: -scanbus

I get :

scsidev: 'ATA:'
devname: 'ATA'
scsibus: -1 target: -1 lun: -1
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
1,0,0   100) '  JLMS  ' 'DVD-ROM LTD-166S' 'DIS2' Removable CD-ROM
1,1,0   101) 'CyberDrv' 'CW088D CD-R/RW  ' '110F' Removable CD-ROM

In /etc/default/cdrecord :
yamaha=         ATA:1,1,0       -1      -1      ""

Right ?

And finally :

# cdrecord -v dev=1,1,0 speed=10 dl/debian-31r2-i386-binary-1.iso

I get :

TOC Type: 1 = CD-ROM
scsidev: '1,1,0'
scsibus: 1 target: 1 lun: 0
cdrecord: No such file or directory. Cannot open '/dev/sg*'. Cannot open
SCSI driver.


I seem to remember seeing this with cdrecord also. In my case, it had to do with my cdrecord executable not having setuid capability and not having users as part of the "cdrom" group.

The way I solved it (with the lists help!) was by adding the user that I wanted to be able to execute cdrecord to the "cdrom" group and by providing cdrecord with setuid capability (by running "dpkg-reconfigure cdrecord"). HTH.

Jose Alburquerque

Reply to: