<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Problem with permissions of pipe created by module-pipe-sink"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107070">107070</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Problem with permissions of pipe created by module-pipe-sink
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>modules
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>devriesb@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>lennart@poettering.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I'm on archlinux.  When upgrading to pulseaudio 12, my setup with pulse running
as system daemon and outputting to a fifo pipe stopped working.

The setup is:
mpd -> pulseaudio (system) -> fifo -> snapserver (part of snapcast)

Pulseaudio is running in system mode because it's a headless server
broadcasting the audio over the network through snapcast.


I traced the problem back to the change in umask setting in pulseaudio 12.
This causes the pipe to be created by pulseaudio with only read and write
permissions for the pulse user, where before it was also allowing read
permissions for the pulse group.

Creating the sink pipe with only permissions for the pulse user is completely
useless, since any program that's reading the pipe will very likely be running
under a different user.
This basically renders the sink pipe useless in system mode, and will probably
also have consequences or side-effects in user mode.


This is my very first ticket here, so please let me know if additional
information is needed.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>