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

            Bug ID: 108210
           Summary: Can't open file for editing if there is a lingering
                    lock file from a different user
           Product: LibreOffice
           Version: 5.4.0.0.alpha1+
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: ba...@caesar.elte.hu

If there are two users in the system, one edits a file, but doesn't exit
cleanly and the lock file remains, trying to open it with a different user
shows the usual dialog, but with the following possible actions (normally the
middle option is "Open", and the text is slightly different, in this case it
includes the other user's name):
"Open Read-Only", "Open Copy", "Cancel".

Basically LO still thinks the file is open by a different user.

The easiest way to repro is to:
- save a lock file while the file is open,
- edit it with a text editor manually by replacing the user name in the first
field with a different one (it's in ",Computer/User," form),
- place it next to the original file when the file is not opened, and open it
again.

Another way (tested in Windows 7):
- create a different user in the system, set a password for it,
- start LO with that user by shift-right-clicking soffice.exe and selecting Run
as different user,
- open a file,
- kill LO in task manager,
- start LO with the first user, and try to open the same file again.

Reproduced with 5.3.3.2 & 3.3.0 / Windows 7.
Not sure whether it affects Linux, it likely does, but I haven't checked.

-- 
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