Bug 445987 - Dolphin cannot create folders on an Nginx based WebDAV server.
Summary: Dolphin cannot create folders on an Nginx based WebDAV server.
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: WebDAV (show other bugs)
Version: 5.88.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-23 18:22 UTC by mfw5
Modified: 2024-01-21 09:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Dolphin error webdav (22.22 KB, image/jpeg)
2024-01-21 09:43 UTC, Unknown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mfw5 2021-11-23 18:22:25 UTC
Dolphin cannot create folders on an Nginx based WebDAV server.
Please see also https://trac.nginx.org/nginx/ticket/1966 => "In general, clients SHOULD use the trailing slash form of  collection names."

I can provide access to an Nginx based webdav resource, if needed.
STEPS TO REPRODUCE
1. Open an Nginx backed resource webdav(s)://... with Dolphin.
2. Try to create a folder there.


OBSERVED RESULT
Dolphin reports an error: "A resource cannot be created at the destination until one or more intermediate collections (folders) have been created."
Nginx error log: 2021/11/23 18:11:06 [error] 30219#30219: *45 MKCOL can create a collection only, client: ***, server: ***, request: "MKCOL /New%20Folder HTTP/1.1", host: ***"

EXPECTED RESULT
The folder is created.
Comment 1 Unknown 2024-01-21 09:42:49 UTC
Over here, I also have the error that dolphin cannot create folders via webdav.

STEPS TO REPRODUCE
1. Open an Nginx backed resource webdav(s)://... with Dolphin.
2. Try to create a folder there.

webdav       | 192.168.1.155 - juan [21/Jan/2024:09:15:06 +0000] "PROPFIND //Nueva%20carpeta HTTP/1.1" 404 153 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.113 dolphin/23.08.4"
webdav       | 2024/01/21 09:15:10 [error] 7#0: *4 MKCOL can create a collection only, client: ***, server: ***, request: "MKCOL /Prueba HTTP/1.1", host: "***"

I check folder permissions, add 777 permissions and it still reproduces the error.
Comment 2 Unknown 2024-01-21 09:43:16 UTC
Created attachment 165093 [details]
Dolphin error webdav