<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 - save operation overwrites random files"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=133635">133635</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>save operation overwrites random files
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.0.7.3 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</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>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mail@norbertdejonge.nl
</td>
</tr></table>
<p>
<div>
<pre>I just ran into a replicable bug where LibreOffice Writer saves data to a
random file instead of the filename I provide.
How to replicate:
***WARNING***
Read what I write carefully before testing, because this bug overwrites
random(!) files.
***WARNING***
1. Make sure ~ (your home directory; /home/<user>/) is empty, because this bug
overwrites random(!) files. While in ~ run:
2. ~$ touch 2020-06-03_test.txt test.txt
3. ~$ libreoffice test.txt
4. File -> Save As... -> 2020-06-03_test.odt
5. Check what happened. LibreOffice will have overwritten a random file in ~.
If your ~ is empty except for 2020-06-03_test.txt and test.txt, then test.txt
will now be an OpenDocument Text (ODT) file. You can verify this by quitting
LibreOffice, and then typing: ~$ file test.txt
If other (text?) files are in ~, then LibreOffice will pick any random file to
overwrite. Example, you may have todo.txt in ~, then when you save test.txt as
2020-06-03_test.odt it will just randomly decide to dump the OpenDocument Text
data in todo.txt.</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>