Ask Your Question

suddenly, all .odt files are locked by 'Unknown User' [closed]

asked 2013-08-19 23:59:42 +0200

amead gravatar image

updated 2015-09-07 10:47:58 +0200

Alex Kemp gravatar image

I see several questions about unlocking files but none seems to match my circumstances.

My files reside on a CentOS 6 server. I am trying to edit them using Windows 7 and a product called ExpanDrive (v2.4.0). ExpanDrive exposes my server's files (using sftp) as a virtual drive in Windows. This set-up has been stable for a couple years on several different computers and as far as I know, nothing has changed about the CentOS server or ExpanDrive but I am experiencing this problem on a new computer and a new installation of ExpanDrive and a fresh install of LO (

Suddenly, today, whenever I open a .ODT file using Writer/LO, I get a message like this:

"Document file 'xxxxxxxxxx.odt' is locked for editing by:
Unknown User
Open document read-only or open a copy of the document for editing"

There are no visible lock files (i.e., not visible in Windows 7 and not visible in an ls -a on the server.) When I try to open a .DOC file in the same directory, everything works and I can see that the lock file is created (and then removed correctly when I close the file).

This seems to affect files in all directories (i.e., 100% of the several folders which I tried) and affects .ODS files as well as .ODT files.

Can network latency cause this kind of problem? This kind of drive always has some latency and today it's like molasses..

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-02-21 14:47:55.693302

2 Answers

Sort by » oldest newest most voted

answered 2013-08-20 03:44:38 +0200

oweng gravatar image

updated 2014-04-30 15:11:08 +0200

I am not sure this is your problem, but perhaps try turning off file locking in LO. The README contains a heading "File locking" with details. This thread may also be helpful.

EDIT: I did not realise with my first response the client system was Windows. This answer indicates there are problems with file locking under Windows that are ongoing. The use of SFTP may also indicate bugs fdo#57765 and fdo#72460, although the last bug seems to also have a GVFS aspect.

edit flag offensive delete link more

answered 2014-04-22 20:57:48 +0200

LibreAddict gravatar image

If you have left over hidden lock files (.~lock.xxxxx.odt#) where xxxx.odt file is the original file name try deleting them first then opening the odt file again.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-08-19 23:59:42 +0200

Seen: 9,073 times

Last updated: Apr 30 '14