[pulseaudio-discuss] The problem of /tmp/pulse-$USER becoming owned by root...

Lennart Poettering lennart at poettering.net
Sat Jan 12 09:19:50 PST 2008


On Thu, 10.01.08 22:26, Colin Guthrie (gmane at colin.guthr.ie) wrote:

> Hi,
> 
> http://qa.mandriva.com/show_bug.cgi?id=36643
> The above bug report highlights a sequence of events that cause the
> /tmp/pulse-$USER folder to become owned by root. This results in $USER
> being unable to play sound.
> 
> Basically start pulse as $USER and check perms on /tmp/pulse-$USER
> folder. su to root and start nautilus and permissions on
> /tmp/pulse-$USER change to root.
> 
> Not I've not yet been able to reproduce this myself but will try and
> work out what's going on.
> 
> Just thought I'd mention it here in case anyone else has had a similar
> problem.
> 
> I know we discussed on IRC about a problem where /tmp/pulse-$USER was
> owned by root so I think there could be some milage in this principle
> even if I can't replicate it yet....

Hmm, sounds like an evil messup with autospawn done from SUID programs
or more likely those started via "su". Will look into this
eventually, before I do the next release.

I am not sure why people would start audio applications as root
anyway. People doing stuff like that deserve to be annoyed by issues
like this one ;-)

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list