Bug Hunting Session
Bug 84560 - FILEOPEN: Libreoffice silently ignores errors when creating the lockfile
Summary: FILEOPEN: Libreoffice silently ignores errors when creating the lockfile
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.2.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: File-Lock WebDAV
  Show dependency treegraph
 
Reported: 2014-10-01 17:05 UTC by FrOutlook
Modified: 2019-02-19 21:26 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description FrOutlook 2014-10-01 17:05:15 UTC
I set up a WebDAV share on my Windows 7 computer 64 bits service pack 1.
But there is no space available on this share.
When I open a file test.odt, the lock file is not created because the share
is full. The WebDAV server sends  507 code but no warning message is displayed to user. 
Moreover, when I try to save file modifications, no error messages is displayed 
and Libreoffice Writer is as if everything went well.
Comment 1 Jan 2015-02-24 17:35:58 UTC
I can verify this behaviour (4.2.7.2) It is not WebDAV related. I have seen similar things on Samba Shares (e.g. on gvfsd-fuse on Ubuntu). Libreoffice seems to ignore all errors when creating/opening the lockfile.

Steps to reproduce:
1. Save a file as test.ods in /tmp
2. touch /tmp/.~lock.test.ods#
3. chmod 000 /tmp/.~lock.test.ods#
4. Open /tmp/test.ods -> LO will not complain about the broken lock and open/save the document
Comment 2 Robinson Tryon (qubit) 2015-03-05 20:13:58 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2016-09-20 10:18:14 UTC Comment hidden (obsolete)
Comment 4 Aron Budea 2018-04-17 23:03:00 UTC
This is not a critical issue, adjusting importance accordingly.