This very annoying error seems to be a bug in LO which has been around for about a year now.
When opening a file from a SMB share on a FBSD server, the file opens correctly but after editing and trying to save that file, it gives me first the following warning:
"Document file 'New Microsoft Excel Worksheet.xlsx' is locked for editing by:
Unknown User
Open document read-only or open a copy of the document for editing.
Select Notify to open read-only and get notified when the document becomes editable."
Clicking on cancel will yield the following error:
Error saving the document New Microsoft Excel Worksheet:
Object not accessible.
The object cannot be accessed
due to insufficient user rights.
(This can be circumvented by dismissing the first warning and then trying to save a again and it will behave normally)
No need to try teaching me about user user rights/permissions on *nix systems since I have 30+ experience with those and I can verify that both the original file as well as the lock file is created by a user that has full rw access to that share. Besides that it is only LO that is behaving that way and this only since around a year. This is extremely annoying.
NB: This bug seems to be around for more than a decade!! I might have just started to experience it since about a year ago.
https://bugs.documentfoundation.org/show_bug.cgi?id=55004
Version: 7.3.4.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 4; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
7.3.4-1
Calc: threaded