RE: workman and sound
On Mon, 8 Feb 1999, Shaleh wrote:
>
> On 08-Feb-99 Richard Hall wrote:
> > I went ahead and did 'chmod 666 /dev/audio' and that made workman work. I
> > really hate doing that, though. It seems like there should be a way to
> > make /dev/audio available to me and various processes I start like
> > workman without making it world writable and without having to do group
> > calisthenics.
>
> The proper thing to do is to add any user that wants sound to the audio group.
> You stated sound worked, so I assumed it was not a permission problem.
>
> Debian uses groups like audio because this means that many apps that need to be
> setuid do not or only need setgrid.
>
So how come this didn't work for me? When I first got sound working, I
added myself to group audio, but I had to explicitly change groups any
time I wanted to use sound. Also, I tried to figure out how to get
Netscape to run as group audio by editing the /usr/bin/X11/netscape
script, but never succeeded, not surprising given my inexperience with
scripts. I ended up making /dev/audio part of my personal group, and now
I've completely bastardized it with chmod 666.
So you're saying that workman runs under group audio, and if /dev/audio is
in that group and I chmod it to 660, I'll get music. Okay. How can I
convince Netscape to run as group audio and not under my user id?
Richard Hall
Network Services
University of Tennessee
Reply to: