<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - /dev/fuse wrong permission, chmod in udev rule not applied"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=83399">83399</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>/dev/fuse wrong permission, chmod in udev rule not applied
          </td>
        </tr>

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

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

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

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

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

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

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

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I have two computers with Arch Linux and same systemd version (216) and
/dev/fuse has different permissions on them after boot.

One is my old laptop, /dev/fuse is 666 here. So I can use sshfs etc. with every
user.
The other is a newer desktop, and /dev/fuse got 600 permission.

systemctl --version gives:
  systemd 216
  +PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +LIBCRYPTSETUP +GCRYPT
+GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD -IDN


My investigation:

I see that here is an udev rule in systemd with chmod=0666 in
'50-udev-default.rules', and indeed running on the new computer:

  udevadm trigger -c add -y 'fuse'

fixes the permission to 666.

The /dev/fuse file is created by 'systemd-tmpfiles-setup-dev.service' with
600 permission ('kmod-static-nodes.service' generates the tmpfiles.d config in
'/run/tmpfiles.d/kmod.conf')

I guess it's something with the 'systemd-udev-trigger.service' and the
'systemd-tmpfiles-setup-dev.service' starting simultaneously.</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>