Re: [expert] Sound changes permissions?

1999-11-16 Thread Geoff Croxson

At 04:34  16/11/99 -0900, you wrote:
I don't know how to set things right again.
I am very clueless concerning permissions so if someone could help me 
with this it would be appreciated. 
chown root /dev/dsp
chown root /dev/audio

do that as root


Regards

Geoff Croxson
---
Page me http://wwp.mirabilis.com/1120068   
Senior Micro-Computing Support Officer Ph: 9514 1218
Humanities and Social Sciences Fax:9514 1041
University of Technology, Sydney   [EMAIL PROTECTED]



Re: [expert] Sound changes permissions?

1999-01-15 Thread Axalon Bloodstone



On Wed, 17 Nov 1999, Geoff Croxson wrote:

 At 04:34  16/11/99 -0900, you wrote:
 I don't know how to set things right again.
 I am very clueless concerning permissions so if someone could help me 
 with this it would be appreciated. 
 chown root /dev/dsp
 chown root /dev/audio

may need to reset the group also, and you've left out /dev/mixer ;)

chown root:audio /dev/dsp* /dev/audio* /dev/mixer*
 
 do that as root
 
 
 Regards
 
 Geoff Croxson
 ---
 Page me http://wwp.mirabilis.com/1120068 
 Senior Micro-Computing Support Officer   Ph: 9514 1218
 Humanities and Social Sciences   Fax:9514 1041
 University of Technology, Sydney [EMAIL PROTECTED]
 



Re: [expert] Sound changes permissions?

1999-01-15 Thread Axalon Bloodstone


I answered part of this already (yes i read email backwards), but i'll
fill in some more here.

On Tue, 16 Nov 1999, WH Bouterse wrote:

 Well one of the things in 6.1 that didn't give me trouble was sound.
 My AWE 32 was recognized and has worked for many apps with no prob,
 until now.
 
 I had previously done a chmod a+rw /dev/audio*, /dev/dsp* etc
 to get all users working as well as root.
 mp3s, SoundStudio, realplayerG2, Speakfreely, everything was working
 fine,until now
 
 I can't be sure what I did (or was it me?) Anyhow upon attempting to run 
 a sound realated program I got all kinds of error messages as user so
 switched to root.
 Same thing: an 'ls -l /dev/audio' gives me:
  'crw-rw-rw-1 bill audio 14,   4 Apr 17  1999 /dev/audio'
 'ls -l /dev/dsp' gives me:
 'crw-rw-rw-1 bill audio 14,   4 Apr 17  1999 /dev/dsp'

The only thing unusual here is the permissions (you reapplied the chmod
a+rw, i assume)

 Obviously something is wrong here !? bill is a user shouldn't that be
 root instead?

No it is correct, PAM will set the owning user of the sound devices to the
first person that logs in at the console, and reset it to root when they
logout.

 I don't know how to set things right again.
 I am very clueless concerning permissions so if someone could help me 
 with this it would be appreciated. 

#this resets the owner:group and permissions
chmod u+rw g+rw o-rw /dev/{audio,dsp,mixer}*
chown root:audio /dev/{audio,dsp,mixer}*

Now add your self or users to the audio group, and you should have no
problems

 If it is something else then I would like to know that as well.
 
 Once again, this was a perfectly functioning L-M 6.1 Sound system which
 suddenly
 is now dead.

(/sbin/lsmod |grep -q sound) || mailto [EMAIL PROTECTED] 

:) make sure the modules load, if they aren't maybe run the setup again
(pci sux)
 
 William Bouterse
 Juneau, Alaska