[Libreoffice-bugs] [Bug 131388] File save fails when network document is opened on another machine
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 4 08:49:20 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=131388
--- Comment #1 from Mike Kaganski <mikekaganski at hotmail.com> ---
So a guess would be that when opening it read-only on Windows, LibreOffice
doesn't use correct mode (read-only, shared) - see CreateFile's dwDesiredAccess
and dwShareMode [1]. Note that from Windows share PoV, the file is not open
from Linux side, it was atomically opened when read, then was closed, than will
be attempted to open for writing later (IIUC the mechanics of Linux file
operations). LO only detects the opened state using lock file.
[1]
https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew
--
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/20200904/e9373240/attachment.htm>
More information about the Libreoffice-bugs
mailing list