Fedora Sound - working as root

Todd Zullinger tmz at pobox.com
Wed Dec 5 20:27:03 UTC 2007


kwhiskerz wrote:
> Since the last spate of updates, it is no longer possible to use any
> sound or video* device as user, only as root. Changing the
> permission to 666 allows users to use the devices. I saw that on the
> pulseaudio thread on fedora-selinux-list.
> 
> I hope there will be a fix soon. In the meantime, I manually change
> the permission of the device I need to use each time I boot the
> system. Sometimes it's not easy to figure out what device you need,
> though, like with the tv card or midi, for example.

It's probably worth mentioning that the permissions for sound and
video devices are now managed by ConsoleKit instead of the older
consolehelper.  ConsoleKit uses acl's instead of mucking with the
standard unix perms.  So you want to check the acl's of your devices
using the getfacl command.  As an example, you should see something
like this for /dev/dsp:

$ getfacl /dev/dsp 
getfacl: Removing leading '/' from absolute path names
# file: dev/dsp
# owner: root
# group: root
user::rw-
user:gdm:rw-
user:tmz:rw-
group::rw-
mask::rw-
other::---

Additionally, the ck-list-sessions command is very useful to determine
whether ConsoleKit considers your session to the active session.  If
it doesn't, it won't add you to the acl list for sound, video, and
other devices that it manages.

Finally, one bug that could be the cause of this is:
https://bugzilla.redhat.com/show_bug.cgi?id=380031

Another possibility, if you're using updates-testing, is the
pilot-link-0.12.2-9 update (as suggested in bz#411321).

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I do not want people to be agreeable, as it saves me the trouble of
liking them.
    -- Jane Austen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20071205/e7048a34/attachment-0001.bin 


More information about the users mailing list