<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 - Allowing a second user running on a WAYLAND_DISPLAY requires the second user to have full permissions to XDG_RUNTIME_DIR"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84817">84817</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Allowing a second user running on a WAYLAND_DISPLAY requires the second user to have full permissions to XDG_RUNTIME_DIR
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </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>wayland
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>nerdopolis1@verizon.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Theoretically, I should be able to give the second user just execute
permissions to the XDG_RUNTIME_DIR with setfacl, (with that the user can only
access files in the folder if the name is known, such as WAYLAND_DISPLAY)

However, right now, due to the creation of shared memory files in
XDG_RUNTIME_DIR, it fails to create the shm files, and many clients crash,
forcing the requirement to have full permissions to XDG_RUNTIME_DIR for the
user

It has been suggested that it should fall back to /dev/shm, and /tmp if it is
impossible to write the SHM files to XDG_RUNTIME_DIR on the irc.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>