Re: Can only play mp3 files as root.
George Bonser wrote:
> On Tue, 28 Jul 1998, Christopher Barry wrote:
> > I'm added to group audio and I had the permissions of /dev/audio and
> > /dev/dsp set to 770 so before I file a bug report should I mess with
> > anything else? If it would neither run as root nor as a user, that would
> > be one thing, but this is just too weird. I can't think of any more
> > groups or permissions that would need fiddling with.
> Maybe you missed my point ... is /dev/audio and /dev/dsp still owned by
> the audio group or has the ownership changed to root root?
They've been root.audio from the beginning, I was just playing with some
stuff though and made some progress. These are the default permissions,
my username is cbarry and I am in group audio:
$ ls -l /dev/audio /dev/dsp
crwxrwx--- 1 root audio 14, 4 Jul 20 17:45 /dev/audio
crwxrwx--- 1 root audio 14, 3 Jul 20 17:45 /dev/dsp
I noticed I still couldn't catenate a file to /dev/audio though because
of permission denied so I changed them to this:
crwxrwxrwx 1 root audio 14, 4 Jul 20 17:45 /dev/audio
crwxrwxrwx 1 root audio 14, 3 Jul 20 17:45 /dev/dsp
Now this really has me confused. I can play files now as a user but I
can't use the volume control and speaker balance as they do absolutely
nothing. I'm stuck with one set volume, while again with root everything
is perfect. If I'm a member of group audio, why did I have to change the
permissions from what they were to write to /dev/audio? I really am a
newbie to the unixy way of doing things with all these permissions. I've
been using MS for too many years I guess. I guess for volume control and
speaker balance there's another /dev device but I'll be damned if I know
> George Bonser
> Microsoft! Which end of the stick do you want today?
> Unsubscribe? mail -s unsubscribe email@example.com < /dev/null
Unsubscribe? mail -s unsubscribe firstname.lastname@example.org < /dev/null