[EMAIL PROTECTED] wrote
> <many frantic notes on about sound not working on java linux...>
[EMAIL PROTECTED] (and others)  were very helpful Much Thanks.

I would like to post this quick summary of what I have learned:

I had been having problems getting audio to work with java-linux using the
appletviewer
The audio device that java-linux looks for is in fact
/dev/audio

The problem was related to my attempt to setuid to appletviewer
This is really a symbolic link to .java_wrapper
However .java_wrapper is a shell script, and setuid does NOT work on scripts.
(I here there are exceptions for perl?)

For now I've taken the quick and dirty 'Number of the Beast' solution
chmod 666 /dev/audio

I assume the actual files which should be setuid are tucked away in (for 1.1.6
at least)
$JAVA-HOME/jdk1.1.6/bin/$ARCH/green_threads
(for me $JAVA-HOME is /usr/local and $ARCH is i586)

I'm probably exceptionally foolish and ignorant for someone attempting to
administer
his own unix system but perhaps a small section could be added to the FAQ about
permission.

For now, however, all as well and I can concentrate on my work.
Thanks Again,
Chip Grandits



Reply via email to