Locking Libreoffice document after editing it by Linux LO per SSH

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
orwel01
Level 1
Level 1
Posts: 41
Joined: Wed Jul 13, 2016 4:55 am

Locking Libreoffice document after editing it by Linux LO per SSH

Post by orwel01 » Wed Feb 07, 2018 5:45 pm

Hi folks,
I have a big issue with LO (5.4.3).

I have a NAS (connected in a LAN in my office).
I connect to the NAS from my home, where I use Linux Mint, by using SSH protocol. The connection is good and I have no problems to open/edit documents on NAS.

But everythime I edit a LO-file (.odt, .doc, .ods,...) at home (Linux mint) and save/close it, it is not possible to re-open it from Win in my office (PC connected to NAS per LAN). LibreOfficeon my WIN machine says:
"Document file XXX.ods is locked for editing by yourself on a different system since

Open document read-only, or ignore own file locking and open the document for editing."

I know this message appears usually if the document is really open on some other machine, or LO breaks and a hidden "lock" file created by LibreOffice is beside the original file in the same directory. But nothing from mentioned is present in my case. There is neither a hidden lock file nor the file is open. I can normally open/edit/save it again on Mint at my home (per SSH), but is is not possible to open it from the local LAN connected machine.

I think it has something to do with LO, because for example a .rtf document could be opened (not by LO) by described way without problems.

Any ideas?

orwel01
Level 1
Level 1
Posts: 41
Joined: Wed Jul 13, 2016 4:55 am

Re: Locking Libreoffice document after editing it by Linux LO per SSH

Post by orwel01 » Wed Feb 07, 2018 6:23 pm

Adding an info:
I just found out, that LO/Mint through SSH rewrites the file security properties - the file becomes only READ, although before (editing/saving in Win/LAN) it had READ/WRITE permission

Post Reply

Return to “Software & Applications”