* cdda2wav as user
@ 1999-06-18 15:16 Sangohn Christian
1999-06-20 14:46 ` Benno Senoner
1999-06-20 16:44 ` Sangohn Christian
0 siblings, 2 replies; 3+ messages in thread
From: Sangohn Christian @ 1999-06-18 15:16 UTC (permalink / raw)
To: linux-sound
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?
--
,---._________________________________
/ \ |~~\_____/~~\__ |
| Christian.Sangohn@post.rwth-aachen.de >---\______=== )-+
| ,---._______________________________/ ~~~|/~~ |
|/ ()
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cdda2wav as user
1999-06-18 15:16 cdda2wav as user Sangohn Christian
@ 1999-06-20 14:46 ` Benno Senoner
1999-06-20 16:44 ` Sangohn Christian
1 sibling, 0 replies; 3+ messages in thread
From: Benno Senoner @ 1999-06-20 14:46 UTC (permalink / raw)
To: linux-sound
On Fri, 18 Jun 1999, Sangohn Christian wrote:
> 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?
>
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cdda2wav as user
1999-06-18 15:16 cdda2wav as user Sangohn Christian
1999-06-20 14:46 ` Benno Senoner
@ 1999-06-20 16:44 ` Sangohn Christian
1 sibling, 0 replies; 3+ messages in thread
From: Sangohn Christian @ 1999-06-20 16:44 UTC (permalink / raw)
To: linux-sound
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.
--
,---._________________________________
/ \ |~~\_____/~~\__ |
| Christian.Sangohn@post.rwth-aachen.de >---\______=== )-+
| ,---._______________________________/ ~~~|/~~ |
|/ ()
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-06-20 16:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-18 15:16 cdda2wav as user Sangohn Christian
1999-06-20 14:46 ` Benno Senoner
1999-06-20 16:44 ` Sangohn Christian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox