[Libreoffice-bugs] [Bug 133635] New: save operation overwrites random files

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 3 13:14:36 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=133635

            Bug ID: 133635
           Summary: save operation overwrites random files
           Product: LibreOffice
           Version: 6.0.7.3 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mail at norbertdejonge.nl

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200603/dc1c97b6/attachment.htm>


More information about the Libreoffice-bugs mailing list