[12956] in Athena Bugs

home help back first fref pref prev next nref lref last post

sun4 7.7K: /dev/audio{,ctl}

daemon@ATHENA.MIT.EDU (John Hawkinson)
Tue Nov 29 18:54:44 1994

To: bugs@MIT.EDU
Date: Tue, 29 Nov 1994 18:54:39 EST
From: John Hawkinson <jhawk@MIT.EDU>

System name:		w20-575-126
Type and version:	SPARC/Classic 7.7K
Display type:		cgthree

What were you trying to do?
	Use /dev/audio and /dev/audioctl

What's wrong:
	Permissions are wrong:

lrwxrwxrwx   1 root     root          12 Aug  9 03:08 /dev/audio -> /dev/sound/0
lrwxrwxrwx   1 root     root          15 Aug  9 03:08 /dev/audioctl -> /dev/sound/0ctl
$ ls -lL /dev/audi*
crw-------   1 root     other     28,  0 May  3  1994 /dev/audio
crw-------   1 root     other     28,128 May  3  1994 /dev/audioctl

	/dev/audio* should be either mode 777, or should be owned by whoever
	logs in on the console. Which one is a policy question. 

What should have happened:
	See above. A simple fix is to su to root and chmod 777 /dev/audio*...

Please describe any relevant documentation references:
	I'm not sure. The srvd for 7.7K does not have a /dev/sound, and
	I don't have time right now to trace the install process. I'm told
	that this is a bug that has recurred in past Sun releases, so
	I imagine that rel-eng knows how to fix it?

--jhawk


home help back first fref pref prev next nref lref last post