Red Hat Bugzilla – Bug 160322
Wrong default permissions for audio devices
Last modified: 2007-11-30 17:11:07 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Description of problem:
The default permissions for the auto-created audio devices are too restrictive: they may work for a single user desktop, but fail (very) short for a multiuser one.
Given the multiuser nature of linux this does not seem wise.
Default permissions for audio devices:
This means that if i login in X with userA and then use the user switcher applet, or another mean to get a concurrent login with userB, then userB cannot access the audio devices.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Login as userA
2. Use the Fast-User-Switching-Applet (or just X --display :9) to login as userB
3. Launch sound player
Actual Results: The sound player app complains that it cannot access the device.
Expected Results: The sound app should work if userA is not actively using a sound app itself.
Solution is fairly simple:
Default permissions to audio devices:
And then assign by default users to the audio group at creation time.
Same Problem with Fedora Core 4
How can I fix this?
Only one console user will and can use console devices.
Fast-User-Switching-Applet should then use the pam_console mechanism.
Well, for a "home computer" it seems to me a perfectly sensible choice to have
all users (or all users belonging to a group) able to use the audio device.
Could this maybe become a configurable switch?
(I'll investigate the pam_console mechanism you cite, in any case)