Click to See Complete Forum and Search --> : Can only play sound when as root


digitalzero
02-03-2001, 02:23 PM
I can only play sounds when I'm using the root account. When using a user account, the error message I get is: Cant open /dev/dsp: permission denied. Anyone know what to do if I want to be able to play sounds as a normal user. Thanks in advance.

Strike
02-03-2001, 02:28 PM
as root:

chmod 666 /dev/dsp

PLBlaze
02-03-2001, 02:31 PM
Check what permission is set on /dev/dsp and then chmod it so user(s) can read/write to dsp eg chmod a+rw.Hope this helps.

reeze
02-03-2001, 02:38 PM
or if you only want certain useres to have sounds you can add them to the audio group and make sure that /dev/dsp is owned by the audio group..

adduser [username] audio
chgrp audio /dev/dsp
chmod 660 /dev/dsp


-reeze

digitalzero
02-03-2001, 03:35 PM
got it to work. Thanks all!