Description of problem: By default, /dev/audio* /dev/mixer* and /dev/dsp* have the 600 rights. The owner being root, the sound card only works for the administrator. Under Gnome for instance, the users have no sound and no way to access the sound card. The solution of this problem is to change the rights of /dev/audio* /dev/mixer* and /dev/dsp* from 600 to 666. However, when the machine is rebooted, the rights are brought back to 600. This is due to the configurations of the files in /etc/makedev.d (The rights given to the $CONSOLE alias I think) Version-Release number of selected component (if applicable): MAKEDEV-3.3.2-5 How reproducible: Steps to Reproduce: 1. chmod 666 /dev/dsp* /dev/audio* /dev/mixer* (to get sound as a user) 2. reboot 3. ls -la /dev/dsp* /dev/audio* /dev/mixer* Actual results: [root@papeete makedev.d]# ls -la /dev/dsp* /dev/audio* /dev/mixer* crw------- 1 root root 14, 4 Jan 30 11:24 /dev/audio crw------- 1 root root 14, 20 Jan 30 11:24 /dev/audio1 crw------- 1 root root 14, 7 Jan 30 11:24 /dev/audioctl crw------- 1 root root 14, 3 Jan 30 11:24 /dev/dsp crw------- 1 root root 14, 19 Jan 30 11:24 /dev/dsp1 crw------- 1 root root 55, 0 Jan 30 11:24 /dev/dsp56k crw------- 1 root root 14, 0 Jan 30 11:24 /dev/mixer crw------- 1 root root 14, 16 Jan 30 11:24 /dev/mixer1 Expected results: [root@papeete makedev.d]# ls -la /dev/dsp* /dev/audio* /dev/mixer* crw-rw-rw- 1 root root 14, 4 Jan 30 11:24 /dev/audio crw-rw-rw- 1 root root 14, 20 Jan 30 11:24 /dev/audio1 crw-rw-rw- 1 root root 14, 7 Jan 30 11:24 /dev/audioctl crw-rw-rw- 1 root root 14, 3 Jan 30 11:24 /dev/dsp crw-rw-rw- 1 root root 14, 19 Jan 30 11:24 /dev/dsp1 crw-rw-rw- 1 root root 55, 0 Jan 30 11:24 /dev/dsp56k crw-rw-rw- 1 root root 14, 0 Jan 30 11:24 /dev/mixer crw-rw-rw- 1 root root 14, 16 Jan 30 11:24 /dev/mixer1 Additional info: I noticed the same kind of problems with RedHat 7.3 and RedHat 8.0
Permissions to use these devices are granted by pam_console when the user logs in: there's more information about how this is done at http://www.redhat.com/support/wpapers/newpam/.