Ask Your Question

Files are locked

asked 2018-02-02 16:01:53 +0200

ealthuis gravatar image

I installed version 6 today on a computer I use as a server for my files. With previous versions I had full access to those files from any other computer. To do so, I had to edit /usr/bin/soffice to comment out the lines that force the lock. That file was again edited after installation, but all LO files are locked to me on any other computer. I use NFS to access the server

I have noticed others seem to have this problem though no resolution has been offered. There are no~LOCK files, either hidden or visible.

This must be a BUG, how do I report that?

edit retag flag offensive close merge delete


2 Answers

Sort by » oldest newest most voted

answered 2018-03-02 17:47:52 +0200

I had the same problem for files stored on an NFS mount. The same files would open fine on local storage, but not on NFS mounts. Verified permissions, ownership, etc. The only difference was whether they were stored locally or on NFS.

I commented out the following line in the 'soffice' file:
and saved it, then closed and re-opened LibreOffice.

Magically my files stored on NFS are no longer "locked for editing by..." when opening with LibreOffice! Hope it works for you.

edit flag offensive delete link more


I would very much like to turn off file locking, but on the Mac OS version of Libre Office, the 'soffice' file is a UNIX executable hex file.

If I open it in a text editor there is no string: 'export SAL_ENABLE_FILE_LOCKING'. Just some hex characters and a legion of red question marks: ??????????.

How on earth did you edit it?

I am running Mavericks, Mac OS 10.9.5.

chuanist gravatar imagechuanist ( 2019-01-01 00:32:25 +0200 )edit

answered 2018-07-01 15:57:09 +0200

ealthuis gravatar image

I now edit the actual soffice script, not through the link as in "/usr/lib/soffice" This takes care of the problem.

edit flag offensive delete link more


I have the same problem with the ODS files are locked. But I don't know how to do what you said above. Can you help me?

sinker811 gravatar imagesinker811 ( 2018-07-01 23:41:07 +0200 )edit
Login/Signup to Answer

Question Tools



Asked: 2018-02-02 16:01:53 +0200

Seen: 667 times

Last updated: Jul 01 '18