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@lists.freedesktop.org
          Reporter: m...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to