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: NEEDINFO
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-09-01 03:11 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
Dear Petr Michálek,

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