[pulseaudio-tickets] [PulseAudio] #215: Pulse + su + autospawn = root perms on /tmp/pulse-$USER

PulseAudio trac-noreply at tango.0pointer.de
Sat Jan 12 06:37:02 PST 2008


#215: Pulse + su + autospawn = root perms on /tmp/pulse-$USER
---------------------+------------------------------------------------------
  Reporter:  coling  |       Owner:  lennart
      Type:  defect  |      Status:  new    
  Priority:  normal  |   Milestone:         
 Component:  daemon  |    Severity:  normal 
Resolution:          |    Keywords:         
---------------------+------------------------------------------------------
Comment (by coling):

 Incidentally I seem to be able to replicate this simply by running
 {{{pulseaudio}}} as root under a {{{su}}} session:
 {{{
 [colin at jimmy pulseaudio]$ ll -d /tmp/pulse-colin
 drwx------ 2 colin colin 4096 2008-01-12 11:38 /tmp/pulse-colin/
 [colin at jimmy pulseaudio]$ su
 Password:
 [root at jimmy pulseaudio]# pulseaudio
 W: main.c: This program is not intended to be run as root (unless --system
 is specified).
 E: pid.c: Daemon already running.
 E: main.c: pa_pid_file_create() failed.
 [root at jimmy pulseaudio]# ll -d /tmp/pulse-colin
 drwx------ 2 root root 4096 2008-01-12 11:38 /tmp/pulse-colin/
 }}}

 So the whole autospawn thing is not specific to this problem but it
 clearly makes it more likely to happen automatically.

 NB passing -vvv didn't give any more useful info in the output.

-- 
Ticket URL: <http://www.pulseaudio.org/ticket/215#comment:3>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list