Description: When a file is opened on a network drive a locked by unknown user pops up and the option given to open read only or open a copy. When the copy is saved to the network drive an error occurs. If a locally created document is saved to the network drive the same error occurs. The setup is two computers running Kubuntu 19.10 on both machines. NFS network share over hardwired LAN shares drives on Computer A with Computer B. LibreOffice 6.3.2.2 was included in the distro. LibreOffice works fine on the local drives on both machines. Other applications including KiCAD, LibreCAD, Arduino and Kate can read/write over the network with no problems. There are NO .~lock files anywhere on either computer. Permissions are all good. The exports and fstab entries are all RW. FYI These two computers had been running Kubuntu 16:10 with the LibreOffice that came with it set up in a nearly identical network arrangement and it worked great. I just upgraded hard drives in both machines and did clean installs of the OS and apps. Steps to Reproduce: 1.Open file on networked drive. OR 2. Save file to networked drive. 3. Actual Results: Error message. Option to open read only or open copy. Error message on save. Expected Results: File would open for edit. Edited file would be saved. Reproducible: Always User Profile Reset: Yes OpenGL enabled: Yes Additional Info: Only Writer and Calc have been tested. As stated in description this set up worked with previous version of Kubuntu and LibreOffice.
Version 6.2.8.2 exhibits the same problem.
Problem related to NFS locking. Problem caused by NFS file lock. Other applications are not affected by NFS file lock.
Thank you for reporting the bug. it seems you're using an old version of LibreOffice. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Dear Ted, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping
Per Comment #2 The problem is with a NFS File Locking setting that effects LibreOffice but not other applications. That is the only information available. Per Comment #3 The bug report is based on an older version. Uncertain if the problem exists with the latest version. The status is being changed to UNCONFIRMED. If that leaves the bug on a "To-Do" list then mark it RESOLVED.
Without reading all, rule of thumb is search before reporting. "Old version" message in network case is unlikely to show change. Please see if duplicate of bug 131388 and it's See Also bugs.
(In reply to Timur from comment #6) > Without reading all, rule of thumb is search before reporting. > "Old version" message in network case is unlikely to show change. > Please see if duplicate of bug 131388 and it's See Also bugs. Ted, please check, if it is a duplicate of bug 131388 and please retest with LO 7.2. Thank you. => NEEDINFO
Close this bug report. It is not a bug. I would kill it or close it if I could figure out how. I changed the "Importance" to enhancement because changing the default to "nofile locking" would be an enhancement. File locking should NOT be enabled by default. At some point in time the defaults were changed so file locking is enabled by default on a NFS networked drive. The issue is poor system design. There is no direct way to enable or disable file locking. I have learned to go to /usr/lib/libreoffice/program/soffice and edit the file to comment out the file locking settings. I have to do this every time there is an update to LibreOffice. My set up is two Linux computers, one in the shop and one in the office. ALL data files are kept on the hard drive on the machine in the shop. NFS file sharing is set up to share the shop HD with the office computer. Every other application other than LibreOffice I can run the application in the office and open and edit the files on the hard drive in the shop. These apps include: LibreCAD FreeCAD GIMP Okular ARK Kate Arduino Blender Gwenview Inkscape and probably others. Everything except LibreOffice. Get the picture? LibreOffice is out of step with the rest of the world. The following in the file: /usr/lib/libreoffice/program/soffice is WRONG # file locking now enabled by default << that is the issue SAL_ENABLE_FILE_LOCKING=1 export SAL_ENABLE_FILE_LOCKING Oh, I found it. Changed the Status to RESOLVED-WORKSFORME