Ticket #215 (closed defect: wontfix)
Pulse + su + autospawn = root perms on /tmp/pulse-$USER
| Reported by: | coling | Owned by: | lennart |
|---|---|---|---|
| Milestone: | Component: | daemon | |
| Keywords: | Cc: |
Description
This is a report inspired by a Mandriva bug report that I have now replicated myself.
To replicate:
- As a regular user start pulseaudio normally (e.g. pulseaudio -vvv).
- su (do not su -)
- Edit /etc/pulse/client.conf and ensure autospawn = no
- Check perms on /tmp/pulse-$USER (ls -ld /tmp/pulse-$USER)
- paplay filename.wav (pick something ;))
- Check perms on /tmp/pulse-$USER (ls -ld /tmp/pulse-$USER)
- It should at this stage still be owned by $USER
- Edit /etc/pulse/client.conf and ensure autospawn = yes
- paplay filename.wav
- Check perms on /tmp/pulse-$USER (ls -ld /tmp/pulse-$USER)
- The above check should reveal user and group ownership of root. Ooops. $USER can no longer play sound :(
Change History
Note: See
TracTickets for help on using
tickets.
