cdda2wav as user
Hello there!
I have problems running cdda2wav as user (as root everything is OK). Here is the output:
bash-2.01$ cdda2wav -J open(0,0,0) in file interface.c, line
857: open error for scsi device: No such file or directory On Linux make sure you have the generic SCSI driver installed. Probably you did not define your SCSI device. Set the CDDA_DEVICE environment variable or use the -D option. You can also define the default device in the Makefile.
How can fix that?
--
,---._________________________________
/ \ |~~\_____/~~\__ |
| [email protected] >---\______=== )-+ | ,---._______________________________/ ~~~|/~~ | |/ ()
Quoted 10 lines · Sangohn Christian
Hello there!
I have problems running cdda2wav as user (as root everything is OK). Here is the output:
bash-2.01$ cdda2wav -Jopen(0,0,0)in fileinterface.c, line
857: open error for scsi device: No such file or directory On Linux make sure you have the generic SCSI driver installed. Probably you did not define your SCSI device. Set theCDDA_DEVICEenvironment variable or use the -D option. You can also define the default device in theMakefile.
Quoted 2 lines
How can fix that?
you have 2 possibilites:
1) set SUID root the cdda2wav executable:
chown root.root cdda2wav
chmod 4755 cdda2wav
or
2)
do a
chmod 666 /dev/sga (which is the first SCSI generic device for reading RAW
data from CD)
hope this helps,
Benno.
On Sun, 20 Jun 1999, Benno Senoner wrote:
SC>On Fri, 18 Jun 1999, Sangohn Christian wrote:
SC>> Hello there!
SC>>
SC>> I have problems running cdda2wav as user (as root everything is OK). SC>> Here is the output:
SC>> bash-2.01$ cdda2wav -J open(0,0,0) in file interface.c, line SC>> 857: open error for scsi device: No such file or directory On Linux make sure SC>> you have the generic SCSI driver installed. Probably you did not define your SC>> SCSI device. Set the CDDA_DEVICE environment variable or use the -D option. SC>> You can also define the default device in the Makefile.
SC>>
SC>> How can fix that?
SC>>
SC>
SC>you have 2 possibilites:
SC>
SC>1) set SUID root the cdda2wav executable:
SC>
SC>chown root.root cdda2wav
SC>chmod 4755 cdda2wav
SC>
SC>or
SC>
SC>2)
SC>
SC>do a
SC>
SC>chmod 666 /dev/sga (which is the first SCSI generic device for reading RAW
SC>data from CD)
I Don't have any /dev/sga but changing permissions on /dev/sg0 fixed the problem.
Thanks a lot Benno :-)
SC>
SC>hope this helps,
SC>
SC>Benno.
--
,---._________________________________
/ \ |~~\_____/~~\__ |
| [email protected] >---\______=== )-+ | ,---._______________________________/ ~~~|/~~ | |/ ()