mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #104] Full webdav support #48
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@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?
@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 (?).
@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.
@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...
@sigoden commented on GitHub (Jul 13, 2022):
Could you post the command line? Let me try.
@nicolaspernoud commented on GitHub (Jul 13, 2022):
cp -r test01/ test01-2/from a webdav mount made with gnome file explorer@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.
@nicolaspernoud commented on GitHub (Jul 13, 2022):
ok, thanks I will try to work out what is happening...