[Libreoffice-bugs] [Bug 118826] FILEOPEN lock file does not protect against opening via a symlink to the same file
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Aug 20 05:10:08 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=118826
--- Comment #3 from Tim B <tin at new-life.org.au> ---
Warning the file has changed since opening is not the same as detecting it's
already open when opening it. These are 2 different messages.
If you try to open a file twice using the proper direct path to the real file,
you should get a warning that it's already open, and choice of opening
read-only or making a copy. Basically, you get blocked from opening it.
I haven't personally noticed this specific issue, but it's probably the same
underlying issue I do have - symlinks get destroyed and replaced with a normal
file upon saving. If LibreOffice is looking at the symlink location as the file
path, then it no doubt saves by destroying the "file" path (which is a symlink)
and creating a new file. If the symlink was followed instead, I think both
issues would be solved together.
--
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/20180820/07f99769/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list