[pulseaudio-tickets] [Bug 83007] New: Running clients as root via sudo chowns the user's runtime directory to root

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 24 03:46:06 PDT 2014


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

          Priority: medium
            Bug ID: 83007
                CC: lennart at poettering.net
          Assignee: pulseaudio-bugs at lists.freedesktop.org
            Blocks: 75721
           Summary: Running clients as root via sudo chowns the user's
                    runtime directory to root
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: tanuk at iki.fi
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: clients
           Product: PulseAudio

When using su or sudo to switch users, XDG_RUNTIME_DIR is not updated
automatically. This is especially problematic when switching to root, because
the client library will always chown the runtime directory to the running user.
I believe the proper fix would be to fail if the runtime directory exists but
is owned by some other user, instead chowning the directory. Also, if the
runtime directory doesn't exist, it should not be created by clients.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20140824/c7679ba7/attachment.html>


More information about the pulseaudio-bugs mailing list