#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:
 {{{
 [EMAIL PROTECTED] pulseaudio]$ ll -d /tmp/pulse-colin
 drwx------ 2 colin colin 4096 2008-01-12 11:38 /tmp/pulse-colin/
 [EMAIL PROTECTED] pulseaudio]$ su
 Password:
 [EMAIL PROTECTED] 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.
 [EMAIL PROTECTED] 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
_______________________________________________
pulseaudio-tickets mailing list
pulseaudio-tickets@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets

Reply via email to