Bug 141947 - Webdav: the operation on <path> was started with an invalid parameter
Summary: Webdav: the operation on <path> was started with an invalid parameter
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.1.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-28 10:59 UTC by Petr Michálek
Modified: 2025-11-25 15:32 UTC (History)
1 user (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 Petr Michálek 2021-04-28 10:59:32 UTC
Description:
When davfs2 (local mounted file) claims wrong permission (rw), but real permission (on server) is read-only, LibreOffice fails to open file (read-only) like other programs.

LibreOffice fails to open file with message: "The operation on <path> was started with an invalid parameter".

Steps to Reproduce:
1. mount http://.../webdav /home/someuser/mountdir davfs user,noauto,uid=someuser,file_mode=600,dir_mode=700,rw 

2. Open LibreOffice file (*.ods, *.odt, e.g.) with read-only permisson on webdav server.

Actual Results:
Message: The operation on <path> was started with an invalid parameter.

Expected Results:
Open file (read-only) like other programs.


Reproducible: Always


User Profile Reset: No



Additional Info:
Workaround A: Manually change permission on mounted file to read-only. Davfs2 doesn't change file permission on webdav server.
Workaround B: remove mount parameter file_mode.
Comment 1 Harshita Nag 2021-04-28 14:31:02 UTC
Hello Petr Michálek,
    Can you see if bug 60381 is similar to yours?
Comment 2 Harshita Nag 2021-04-28 14:32:48 UTC
(In reply to Harshita Nag from comment #1)
> Hello Petr Michálek,
>     Can you see if bug 60381 is similar to yours?

   Later bugs are generally marked as duplicates of earlier bugs.
Comment 3 Julien Nabet 2021-04-28 14:40:45 UTC
(In reply to Harshita Nag from comment #1)
> Hello Petr Michálek,
>     Can you see if bug 60381 is similar to yours?

Perhaps similar to tdf#60381 but tdf#60381 concerned Windows and the patch to fix this was Windows specific so this one can't be a dup.
Comment 4 Petr Michálek 2021-04-28 15:01:06 UTC
I'm not sure, that bugs are similar. In my opinion problem is related to file permissions. LO trys open file in RW mode and it fails. It would by nice to try open the file in RO mode instead of end with ugly message.

In this case some users never find out real reason of error and LibreOffice looks like buggy software.
Comment 5 Harshita Nag 2021-04-29 13:17:01 UTC Comment hidden (obsolete)
Comment 6 Xisco Faulí 2025-03-04 11:23:12 UTC
Hello,
It's been a while since this issue was reported.
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.
Comment 7 QA Administrators 2025-09-01 03:11:47 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2025-11-25 15:32:15 UTC
Dear Petr Michálek,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp