<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Double load with symlinks - missing 'realpath'"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=137485">137485</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Double load with symlinks - missing 'realpath'
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.4.7.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>framework
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>michael.meeks@collabora.com
</td>
</tr></table>
<p>
<div>
<pre>I run:
soffice ~/foo.odp
my home is symlinked thus:
/home/michael -> ../crypt-home/michael
If then run:
strace -f -e file -o /tmp/slog loffice ~/foo.odp /crypt-home/michael/foo.odp
It can be seen that I load the same file twice - which is a horror - and leads
to data-loss =)
Did someone try to optimize the 'realpath()' code or something ? interestingly
the second load seems to walk back the elements of the path following symlinks
as I would expect to try to detect duplicates.
I believe this is a regression; also data-loss ... on Linux.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>