[pulseaudio-tickets] [Bug 107039] New: Checking for accessibility of the home dir by comparing uids does not work with a network drive

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 26 07:14:49 UTC 2018


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

            Bug ID: 107039
           Summary: Checking for accessibility of the home dir by
                    comparing uids does not work with a network drive
           Product: PulseAudio
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: medium
         Component: core
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: linschn at gmail.com
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

Hi guys,

I just got bitten byt the way you verify whether the home folder is accessible:

https://github.com/pulseaudio/pulseaudio/blob/master/src/pulsecore/core-util.c#L1431

My home is a SSHFS and the local guid does not match the remote st_uid returned
by stat() so pulseaudio won't start even though the home folder is perfectly
accessible.

IMHO The best way to test if a home folder is accessible is to actually write
and read from it, instead of trusting stat().

Happy to test the changes you may make.

Cheers,

-- 
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: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20180626/9744a079/attachment.html>


More information about the pulseaudio-bugs mailing list