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

ide-scsi - can only read with root access



This will be obvious, but I can't see the difference:

I've got two debian machines -- one is "bumby" and the other is "burn".
"burn" needs root access to read the ide-scsi cdrom where "bumby" will work
as a normal user:

here's on bumby where it works:

moseley@bumby:~$ ls -l /dev/cdrom /dev/sr0 /dev/scd0 /usr/bin/cdparanoia 
lrwxrwxrwx    1 root     root            4 Mar 28  2002 /dev/cdrom -> scd0
brw-rw----    1 root     audio     11,   0 Jan 24  2002 /dev/scd0
lrwxrwxrwx    1 root     root            4 Feb 21  2002 /dev/sr0 -> scd0
-rwxr-xr-x    1 root     root        31336 Mar 15  2002 /usr/bin/cdparanoia

moseley@bumby:/dev$ groups
audio adm src

moseley@bumby:/dev$ cdparanoia -vsQ
...
Table of contents (audio tracks only):
track        length               begin        copy pre ch
===========================================================
  1.    12692 [02:49.17]        0 [00:00.00]    no   no  2


Now, the same look on "burn" where it doesn't work without root:

moseley@burn:~$ ls -l /dev/cdrom /dev/sr0 /dev/scd0 /usr/bin/cdparanoia
lrwxr-xr-x    1 root     root            3 Nov 17 14:51 /dev/cdrom -> sr0
brw-rw----    1 root     audio     11,   0 Mar 14  2002 /dev/scd0
lrwxr-xr-x    1 root     root            4 Nov 17 14:48 /dev/sr0 -> scd0
-rwxr-xr-x    1 root     root        31336 Mar 15  2002 /usr/bin/cdparanoia

moseley@burn:~$ groups
moseley adm cdrom audio src

moseley@burn:~$ cdparanoia -vsQ
cdparanoia III release 9.8 (March 23, 2001)
...

No cdrom drives accessible to moseley found.

But if I run in root:
burn:/home/moseley# cdparanoia -vsQ
cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <monty@xiph.org> and Xiphophorus

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

Table of contents (audio tracks only):
track        length               begin        copy pre ch
===========================================================
  1.    12692 [02:49.17]        0 [00:00.00]    no   no  2

Thanks
-- 
Bill Moseley
mailto:moseley@hank.org



Reply to: