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

Puzzled by Permissions



Hello folks:  

I built an emacspeak machine for my friend Adam over a year ago, now.  When our group
opened our office, we brought his machine into the office so he could function here.
I've always wanted to build another machine which could serve his needs here at the
office so he could take his own machine back home with him.  I'm now in the process of
doing so.  

On invoking emacpseak, I'm getting that ubiquitous "Process speaker not running" error.  

As root, I can successfully use esdplay to play a .wav file, and flite to synthesize a
text file.  

As a normal user, however, using esdplay I get:  
/dev/dsp: Permission denied 

and when using flite, I get:  
oss_audio: failed to open audio device /dev/dsp 

However, my hesco user is a member of the audio group, which has write permissions on
the /dev/dsp device.  

hesco@speaker:~$ ls -l /dev/dsp 
crw-rw-r--    1 root     audio     14,   3 Mar 14  2002 /dev/dsp 
hesco@speaker:~$ cat /etc/group | grep audio 
audio:x:29:ashapiro,hesco 

I manually adjusted the permissions on /dev/dsp to match the ones on Adam's working
machine.  It was 640.  I changed it to 664.  

I'm wondering what I'm missing here.  All clues are appreciated.  

-- Hugh Esco 
hesco@greens.org 
404-806-0480 

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
subject of "unsubscribe" or "help"