[Solved] Locked documents

Issues with installing under all versions of MS Windows
Post Reply
Blackie56
Posts: 5
Joined: Thu Aug 06, 2015 3:45 pm

[Solved] Locked documents

Post by Blackie56 »

OpenOffice is saving all my documents as locked files. How do I stop this and can I unlock those locked files?
Last edited by robleyd on Sun Nov 07, 2021 2:39 am, edited 1 time in total.
Reason: Tag [Solved]
Apache Openoffice 4.1.1 Windows 7
User avatar
Hagar Delest
Moderator
Posts: 32667
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: locked documents

Post by Hagar Delest »

What do you mean exactly? Are they saved read-only?
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Bill
Volunteer
Posts: 8934
Joined: Sat Nov 24, 2007 6:48 am

Re: locked documents

Post by Bill »

Files are not locked when saving. They are locked when opened and unlocked when saved closed. If you get a message that a file is locked when you try to open it, then the file was not properly closed the last time it was open.
Last edited by Bill on Sat Nov 06, 2021 11:05 pm, edited 1 time in total.
AOO 4.1.14 on Ubuntu MATE 22.04
Blackie56
Posts: 5
Joined: Thu Aug 06, 2015 3:45 pm

Re: locked documents

Post by Blackie56 »

Saved document (dec21.doc) is shown as .-lock.dec21.doc#
Apache Openoffice 4.1.1 Windows 7
User avatar
Zizi64
Volunteer
Posts: 11362
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: locked documents

Post by Zizi64 »

The "-lock" files are not your document files. The -lock file will be created by the office suite when you open a document. And they will be deleted, when you close the document. The "lock" file shows "this file is opened by the office suite".

If the lock files are not deleted (they are remained on the storing device), that means: the office suite was not stopped regularly.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Blackie56
Posts: 5
Joined: Thu Aug 06, 2015 3:45 pm

Re: Locked documents

Post by Blackie56 »

Thank you Zizi64. I don't know why I ever saw those before. You have solved my problem. Blackie56
Apache Openoffice 4.1.1 Windows 7
Post Reply