When I try to use readcd, which is part of the cdrecord package,
I'm told 

> readcd dev=$SCSI_BUS,$SCSI_ID,$SCSI_LUN 
> f=/mnt/jaz.ext2/miller/aha2001.image.readcd 
readcd: Permission denied. Cannot open '/dev/sg0'. Cannot open SCSI driver.

I have lots of questions that I think are scsi permissions
related...  What is /dev/sg0?  How does it differ from /dev/scd0?
How can I allow normal users to use readcd?  Once upon a time, I
used suidregister on cdrecord so that I could use it as a normal
user, as in "suidregister /usr/bin/cdrecord root cdburners 4710". 
Is that recommended for readcd?  Or is it a device permissions
issue?  Or is there something else ... ?

Mike


P.S. The devices in question look like this:

> ls -l /dev/cdrom /dev/scd0 /dev/sg0
lrwxrwxrwx    1 root     disk            4 Feb  8  2000 /dev/cdrom -> scd0
brw-rw----    1 root     cdrom     11,   0 Jan  4  2001 /dev/scd0
crw-------    1 root     root      21,   0 Feb  8  2000 /dev/sg0

Reply via email to