Libreoffice version is 25.2.4.3 (just updated, issue was present also in 24.8), running on a Windows 10 machine.
With files on local drive, no issue.
With files on an old samba (3.6.6) share, no issue.
With files on a newer samba (4.13.13), the issue happens.
All shares are on ext4 file systems.
When I open a file, I get the message “unable to create lock file”, and then I can choose “notify” “open read only” “cancel”.
On that share:
-There is space available
-User can write. I can add files, delete them, move them, modify with other applications.
-Even with that files (odt,ods etc), openoffice is able to open R/W and libreoffice not.
A doubt came to me: could it be that openoffice doesn’t create lock file, and libreoffice does?
So I did a further test, I looked server side (ls-lart) during file opening.
In old samba share:
-Both with openoffice and libreoffice, lockfile (.~lock.filename.odt#) is created.
But, in new samba share:
-With Openoffice, file is opened R/W and no lockfile is created (but I noticed that locking works the same, a second user can only open R/O)
-With Libreoffice, I get the error
What could it mean? Perhaps that Openoffice tries to create it, but then if it’s unable to do it goes on, and instead Libreoffice refuses to continue without lock file creation.
I don’t know what right could be missing on new samba share: as I said, I can do everything (add files, delete, modify etc)