- While an existing file is open, save its lock file,
- 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), eg. add a character to it,
- Place it next to the original file when the file is not open,
- Try saving an empty document over the file.
=> There is an error (see screenshot).
Similar to bug 108210, which was about opening such files, it should be possible to save over files that are protected by lock files, but there is no corresponding file system lock (if otherwise there's supposed to be). For example this could happen if the locking LO instance crashed.
Observed using LO 6.1 daily build (2018-02-14_23:48:44, 09fcdbd5e0ae35fb7db8c8784329035edd82573b).
Created attachment 139922 [details]
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":
tdf#115742: allow ignoring stale lockfile on save
It will be available in 6.1.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
A polite ping to Mike Kaganski: is this bug fixed? if so, could you
please close it as RESOLVED FIXED ? Thanks