ALSA privs meltdown
Dan Barrett
nullpointer at pobox.com
Tue Jan 13 11:22:55 EST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Long story short: I emerged a bunch of (Gentoo) packages yesterday. After
ending my KDE session and logging back in, I don't have access to KMix, and
alsamixer terminates with the following error:
alsamixer: function snd_ctl_open failed for default: Permission denied
OK, so _something_ changed permissions somewhere (aside: this is annoying
behavior for a package manager to engage in without getting the user's
attention). Here's what devfs.conf's audio section looks like:
# ALSA/OSS stuff
# Comment/change these if you want to change the permissions on
# the audio devices
LOOKUP snd MODLOAD ACTION snd
LOOKUP dsp MODLOAD
LOOKUP mixer MODLOAD
LOOKUP midi MODLOAD
REGISTER sound/.* PERMISSIONS root.audio 660
REGISTER snd/.* PERMISSIONS root.audio 660
Here's what /dev/sound looks like:
crw------- 1 root audio 14, 4 Dec 31 1969 audio
crw------- 1 root audio 14, 3 Dec 31 1969 dsp
crw------- 1 root audio 14, 0 Dec 31 1969 mixer
My user is, and has been, a member of the audio group. Modules are loaded
just fine; if I login as root everything works fine.
Can anyone point me in the right direction?
Many thanks,
d.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFABBthsIjNiQTGkXARApkjAKCEDoiQlwLapcgrIpQVlOLJmd97PACgmf4X
6Z3o3SmqGHVFpTWNJjAzImQ=
=bL7l
-----END PGP SIGNATURE-----
More information about the Discuss
mailing list