mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #380] issue when adds and modifies files in Windows WebDAV #203
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 @hw2411 on GitHub (May 7, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/380
Problem
After adding a network drive using WebDAV in Windows, you cannot add files and modify files
Configuration
Start command:dufs.exe -A -a test:test123@/:rw --auth-method basic (removing auth-method is also the same error)
You can browse and open deleted files normally, but you cannot copy files to a network drive or modify files on a network drive.
However, using the dufs.exe -A network drive file operation is fine.
Log
Screenshot of console when copying files to network drive error:

Environment:
@sigoden commented on GitHub (May 7, 2024):
Please use the latest version of dufs (--auth-method have already been abandoned)
Please mark the logs you think are releated to bug. (The logs look fine. 401 is for authentication)
@hw2411
@hw2411 commented on GitHub (May 7, 2024):
@sigoden thanks a lot, I'm already using the latest version of dufs and not using the auth-method parameter, but the problem persists. In the following two scenarios, I use DUFS's WebDAV to mount a network drive and copy files on the Windows client.The first image below shows the output of the console when I boot directly with dufs -A and there is only one file copy action in the Windows folder. I don't know why there were two puts, but both of them worked, and the file was copied successfully. The second image shows the output of the console when I started the service with dufs -A -a with authentication and there was only one file copy action in the Windows folder. There are also two PUT operations, the first PUT operation succeeds, and the second PUT operation fails (there is no 201 status code below the 401 status code).This is followed by a successful delete operation (possibly a rollback of a Windows file operation).
dufs -A log(can copy file):

dufs -A -a log(can not copy file):

@hw2411 commented on GitHub (May 15, 2024):
@sigoden thx a lot