[Wayland-bugs] [Bug 54167] New: [bug] weston-launch's wayland-0 socket can have insufficient permissions

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 28 12:50:11 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=54167

             Bug #: 54167
           Summary: [bug] weston-launch's wayland-0 socket can have
                    insufficient permissions
    Classification: Unclassified
           Product: Wayland
           Version: unspecified
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: weston
        AssignedTo: wayland-bugs at lists.freedesktop.org
        ReportedBy: joe.konno at linux.intel.com


In a global `umask 022` environment, through the magic of weston-launch a
wayland-0 socket is created in XDG_RUNTIME_DIR that is writeable only by the
owner: root. This makes it difficult for an unpriveliged user to do anything
within that instance.

This is a significant hindrance for the use-case where the compositor is
spawned by a superuser (through an init script or otherwise) but then used by
unpriveliged users.

Work-around is to grant group-write permissions to the wayland-0 socket after
launch to resume operation for unpriveliged use.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Wayland-bugs mailing list