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

Re: ide-scsi - can only read with root access



--- Bill Moseley <moseley@hank.org> wrote:
> 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
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 
maybe on burn /dev/cdrom should link to /dev/scd0 and have full perms
as well?  Looks like that is how you have it on bumby, not having write
access for groups could be the killer... if you give up just use sudo
package like I do :)
HTH
Shawn

=====
Shawn Lamson
Debian Gnu\Linux Sid
Kernel 2.4.19-custom
XFree86 Version 4.2.1

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com



Reply to: