https://bugs.freedesktop.org/show_bug.cgi?id=47152

             Bug #: 47152
           Summary: Lock files transferred when doing network copies
    Classification: Unclassified
           Product: LibreOffice
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Libreoffice
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Open a file on computer A, save the document in a new folder and then leave it
open. Now grab the directory from computer B (eg via SFTP), disconnect computer
B from the network, and try to edit the document. 


Receive error:
-----
Document file "blah.odp" is locked for editing by:

soandso (date)
Open document read-only or open a copy of the document for editing.
-----

Im not 100% sure how you could solve this, strategies such as checking for
existing processes won't work, as you don't know if the resource is shared from
B to A. Adding metadata to the lock itself might be useful, such as whether A
locked a file on B, or if A locked a local file.

Adding a manual "clear lock" would go a long way, however.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to