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@lists.freedesktop.org
Reporter: lins...@gmail.com
QA Contact: pulseaudio-bugs@lists.freedesktop.org
CC: lenn...@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.
_______________________________________________
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs