[clug] /dev/snd permissions

Daniel Pittman daniel at rimspace.net
Sun Jul 4 06:13:16 MDT 2010

Eyal Lebedinsky <eyal at eyal.emu.id.au> writes:

> Since my f12 upgrade (and yesterday f13) I cannot use mplayer (it hangs).
> I now figured out why: /dev/snd/ devices need o+rw permissions. This was not
> an issue with older fedoras.
> I now added the setting to my rc.local but surely there is a better (more
> correct) way to do this. What is it?

The "correct" way is that ConsoleKit / udev should be adding an ACL to the
device when you log in, allowing you access in line with the policy.  This
*should* be automatically put in place by Fedora.

Usually, though, you can also add a user account to the 'audio' group to
statically allow access to the sound devices, since they are conventionally
shoved into that.

Finally, failing anything else you can adjust / write udev rules to override
the system default permissions.

I suggest identifying why ConsoleKit / udev ACL management isn't working,
though, since you will have more and more problems like this one if you don't
look to resolving that.

It could be a user group management issue, or perhaps a ConsoleKit
configuration or something...

✣ Daniel Pittman            ✉ daniel at rimspace.net            ☎ +61 401 155 707
               ♽ made with 100 percent post-consumer electrons

More information about the linux mailing list