[Libreoffice-bugs] [Bug 140488] New: unable to create read-only copy when opening document opened by other samba share user

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Feb 17 20:56:45 UTC 2021


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

            Bug ID: 140488
           Summary: unable to create read-only copy when opening document
                    opened by other samba share user
           Product: LibreOffice
           Version: 6.4.7.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: jelledejong at powercraft.nl

steps to reproduce:

1. have a document (odt, docx, etc) on a samba smb3 share (oplocks enabled or
disabled did not make a diffrence).

2. open the document with libreoffice 6.4.7-0ubuntu0.20.04.1~lo1 as userA

3. open the document with libreoffice as userB

4.. warning shows up that document is opened by userA, choose to read-only or
create a copy...

5. either choosing read-onluy or create-copy will produce an access denied
error or empty document.

6. trying to copy the file as userB while opened as userB will also create
errors with the caja file-manger under Linux Mint 20.

My guess is that libreoffice creates some kind of kernel file lock that also
disables the read access instead of only taking away the write access.

Then in our setup that also include Collabra (paid support), when Collabora has
an document opened, then opening the document with LibreOffice from the samba
share does not create any errors or warnings that the document is in use,
causing all kind or unwanted situations. However Collabra does throw an error
that it can not read the document when the document was first opened with
LibreOffice. 

Any help is appreciated, would like my customers and organizations to be able
to use LibreOffice on shared samba drives without the risk of data loss
(happened a few times with end-users that did not understand fully what was
going on)

-- 
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/20210217/16c16e69/attachment.htm>


More information about the Libreoffice-bugs mailing list