[GH-ISSUE #104] Full webdav support #48

Closed
opened 2026-04-08 16:50:02 +03:00 by zhus · 8 comments
Owner

Originally created by @nicolaspernoud on GitHub (Jul 13, 2022).
Original GitHub issue: https://github.com/sigoden/dufs/issues/104

Specific Demand

It would seem that running the litmus test suite (https://github.com/tolsen/litmus / http://webdav.org/neon/litmus/) gives only a very partial webdav support (a lot of errors with copy and move, notably non support of directories, etc.).

It seems that the partial support causes problems when for example copying from command line in linux on a mounted (with gnome file manager) dav : the copy is stuck...

Implement Suggestion

It would be nice that the webdav server complies with (at least), the "http basic copymove locks props" tests of the litmus test suite.

Best regards.

Originally created by @nicolaspernoud on GitHub (Jul 13, 2022). Original GitHub issue: https://github.com/sigoden/dufs/issues/104 ## Specific Demand It would seem that running the litmus test suite (https://github.com/tolsen/litmus / http://webdav.org/neon/litmus/) gives only a very partial webdav support (a lot of errors with copy and move, notably non support of directories, etc.). It seems that the partial support causes problems when for example copying from command line in linux on a mounted (with gnome file manager) dav : the copy is stuck... ## Implement Suggestion It would be nice that the webdav server complies with (at least), the "http basic copymove locks props" tests of the litmus test suite. Best regards.
zhus closed this issue 2026-04-08 16:50:02 +03:00
Author
Owner

@sigoden commented on GitHub (Jul 13, 2022):

Full webdav support is not a design goal of dufs. The current implementation is compatible with most of the use cases of most users while keeping it simple.

Could you post the logs for troubleshooting? I'll see if I can fix it?

<!-- gh-comment-id:1183054517 --> @sigoden commented on GitHub (Jul 13, 2022): Full webdav support is not a design goal of dufs. The current implementation is compatible with most of the use cases of most users while keeping it simple. Could you post the logs for troubleshooting? I'll see if I can fix it?
Author
Owner

@nicolaspernoud commented on GitHub (Jul 13, 2022):

Thanks for answering so quickly. There is no logs since the copy is just stuck, but I am pretty sure the problem is related to the fact that the COPY and MOVE methods do not accept directories.
If you were to implement it, maybe you can get some inspiration from https://github.com/messense/dav-server-rs/blob/main/src/handle_copymove.rs (?).

<!-- gh-comment-id:1183114736 --> @nicolaspernoud commented on GitHub (Jul 13, 2022): Thanks for answering so quickly. There is no logs since the copy is just stuck, but I am pretty sure the problem is related to the fact that the COPY and MOVE methods do not accept directories. If you were to implement it, maybe you can get some inspiration from https://github.com/messense/dav-server-rs/blob/main/src/handle_copymove.rs (?).
Author
Owner

@sigoden commented on GitHub (Jul 13, 2022):

copy is just stuck, is it copying a large file? does dufs create a new file?

Does the problem still occur if you copy small files?

Sounds like not a webdav support issue, but a software bug.

<!-- gh-comment-id:1183131077 --> @sigoden commented on GitHub (Jul 13, 2022): `copy is just stuck`, is it copying a large file? does dufs create a new file? Does the problem still occur if you copy small files? Sounds like not a webdav support issue, but a software bug.
Author
Owner

@nicolaspernoud commented on GitHub (Jul 13, 2022):

It occurs immediately when trying to copy a directory : from the GUI it works fine, but from the command line it just does not do anything... This is the same with large or small files...

<!-- gh-comment-id:1183133534 --> @nicolaspernoud commented on GitHub (Jul 13, 2022): It occurs immediately when trying to copy a directory : from the GUI it works fine, but from the command line it just does not do anything... This is the same with large or small files...
Author
Owner

@sigoden commented on GitHub (Jul 13, 2022):

Could you post the command line? Let me try.

<!-- gh-comment-id:1183135897 --> @sigoden commented on GitHub (Jul 13, 2022): Could you post the command line? Let me try.
Author
Owner

@nicolaspernoud commented on GitHub (Jul 13, 2022):

cp -r test01/ test01-2/ from a webdav mount made with gnome file explorer

<!-- gh-comment-id:1183137274 --> @nicolaspernoud commented on GitHub (Jul 13, 2022): `cp -r test01/ test01-2/` from a webdav mount made with gnome file explorer
Author
Owner

@sigoden commented on GitHub (Jul 13, 2022):

I just try copying to/from /run/user/1000/gvfs/dav:host=localhost,port=5000,ssl=false/(mounted with nautilus) using command line. everything works fine.

dufs logs all http requests. if no logs, means no requests.

your should check your tools or operations.

<!-- gh-comment-id:1183168811 --> @sigoden commented on GitHub (Jul 13, 2022): I just try copying to/from `/run/user/1000/gvfs/dav:host=localhost,port=5000,ssl=false/`(mounted with nautilus) using command line. everything works fine. dufs logs all http requests. if no logs, means no requests. your should check your tools or operations.
Author
Owner

@nicolaspernoud commented on GitHub (Jul 13, 2022):

ok, thanks I will try to work out what is happening...

<!-- gh-comment-id:1183178201 --> @nicolaspernoud commented on GitHub (Jul 13, 2022): ok, thanks I will try to work out what is happening...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#48