[clug] cdrom and groups

Tony and Robyn Lewis beakysnugger at yahoo.co.uk
Tue Apr 20 14:35:01 GMT 2004


Feeling kinda silly, but this has been bugging me for a few days now.  I
can't use cdparanoia (or ripperx) unless I'm root, but as far as I can
tell, all the group permissions should allow me to.

Transcript below shows that I'm in group cdrom, but cdparanoia fails to
find the cdrom unless I'm root.  I even logged back out and into X in
the Windows-esqu off-chance that it would help.  Shoulda had more faith
:-)

What am I doing wrong?

Tony

----------------------------------------------------
lewis at goofy:~$ id
lewis at goofy:~$ ls -la /dev/cdrom /dev/cdrom0 /dev/scd0
lrwxrwxrwx    1 root     root           11 Apr 14 23:55 /dev/cdrom ->
/dev/cdrom0
lrwxrwxrwx    1 root     root            9 Apr 14 23:55 /dev/cdrom0 ->
/dev/scd0
brw-rw----    1 root     cdrom     11,   0 Mar 15  2002 /dev/scd0
lewis at goofy:~$ cdparanoia -vsQ
cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <monty at xiph.org> and Xiphophorus

Report bugs to paranoia at xiph.org
http://www.xiph.org/paranoia/

Checking /dev/cdrom for cdrom...
        Testing /dev/cdrom for cooked ioctl() interface
                /dev/scd0 is not a cooked ioctl CDROM.
        Testing /dev/cdrom for SCSI interface
                No generic SCSI device found to match CDROM device
/dev/scd0

Checking /dev/cdroms/cdrom0 for cdrom...
        Could not stat /dev/cdroms/cdrom0: No such file or directory

Checking /dev/cdroms/cdroma for cdrom...
        Could not stat /dev/cdroms/cdroma: No such file or directory

<...snip...>
Killed
lewis at goofy:~$ sudo cdparanoia -vsQ
cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <monty at xiph.org> and Xiphophorus

Report bugs to paranoia at xiph.org
http://www.xiph.org/paranoia/

Checking /dev/cdrom for cdrom...
        Testing /dev/cdrom for cooked ioctl() interface
                /dev/scd0 is not a cooked ioctl CDROM.
        Testing /dev/cdrom for SCSI interface
                generic device: /dev/sg0
                ioctl device: /dev/scd0

Found an accessible SCSI CDROM drive.
Looking at revision of the SG interface in use...
        SG interface version 3.1.25; OK.

CDROM model sensed sensed: MITSUMI CR-48XCTE 1.0B 

Checking for SCSI emulation...
        Drive is ATAPI (using SCSI host adaptor emulation)

Checking for MMC style command set...
        Drive is MMC style
        DMA scatter/gather table entries: 256
        table entry size: 32768 bytes
        maximum theoretical transfer: 3566 sectors
        Setting default read size to 13 sectors (30576 bytes).

Verifying CDDA command set...
        Expected command set reads OK.

Table of contents (audio tracks only):
track        length               begin        copy pre ch
===========================================================
  1.    22427 [04:59.02]        0 [00:00.00]    no   no  2
  2.    15198 [03:22.48]    22427 [04:59.02]    no   no  2
  3.    19392 [04:18.42]    37625 [08:21.50]    no   no  2
  4.    19380 [04:18.30]    57017 [12:40.17]    no   no  2
  5.    21503 [04:46.53]    76397 [16:58.47]    no   no  2
  6.    18777 [04:10.27]    97900 [21:45.25]    no   no  2
  7.    20368 [04:31.43]   116677 [25:55.52]    no   no  2
  8.    18422 [04:05.47]   137045 [30:27.20]    no   no  2
  9.    21410 [04:45.35]   155467 [34:32.67]    no   no  2
 10.    16320 [03:37.45]   176877 [39:18.27]    no   no  2
 11.    21425 [04:45.50]   193197 [42:55.72]    no   no  2
 12.   127228 [28:16.28]   214622 [47:41.47]    no   no  2
TOTAL  341850 [75:58.00]    (audio only)

lewis at goofy:~$ 
------------------------------------------------



More information about the linux mailing list