<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Checking for accessibility of the home dir by comparing uids does not work with a network drive"
href="https://bugs.freedesktop.org/show_bug.cgi?id=107039">107039</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Checking for accessibility of the home dir by comparing uids does not work with a network drive
</td>
</tr>
<tr>
<th>Product</th>
<td>PulseAudio
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>core
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>linschn@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>lennart@poettering.net
</td>
</tr></table>
<p>
<div>
<pre>Hi guys,
I just got bitten byt the way you verify whether the home folder is accessible:
<a href="https://github.com/pulseaudio/pulseaudio/blob/master/src/pulsecore/core-util.c#L1431">https://github.com/pulseaudio/pulseaudio/blob/master/src/pulsecore/core-util.c#L1431</a>
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,</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>