Pulseaudio requires access to files for which it has no permission
Submitted by rtd..@..il.com
Assigned to pul..@..op.org
Description
Consider you are using plain ALSA and do
username@machine $ sudo -u nick mplayer /tmp/foo.wav
You would expect this to play /tmp/foo.wav as user nick and you would expect this to play the audio and it does.
Now, let's bring in PulseAudio to the mix.
PulseAudio requires access to /home/username/.<whatever>
files when trying to pull this off, but there is no guarantee that such permissions are there, and in fact user 'nick' has no business in username's home directory and the result is that it doesn't work.
chmod 700 /home/username and then come up with any method playing audio while pulseaudio owns the hardware device and then you can close this bug.
For me this is a blocker to use PulseAudio.