[GH-ISSUE #380] issue when adds and modifies files in Windows WebDAV #203

Closed
opened 2026-04-08 16:51:08 +03:00 by zhus · 3 comments
Owner

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:
1715075197752

Environment:

  • OS info:windows
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: ![1715075197752](https://github.com/sigoden/dufs/assets/9170983/62e53de0-908c-4d30-967a-da7af6f92db8) **Environment:** - OS info:windows
zhus closed this issue 2026-04-08 16:51:08 +03:00
Author
Owner

@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

<!-- gh-comment-id:2097940626 --> @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
Author
Owner

@hw2411 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

@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):
image

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

<!-- gh-comment-id:2098544794 --> @hw2411 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 @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): <img width="662" alt="image" src="https://github.com/sigoden/dufs/assets/9170983/8c6eabf5-322b-4851-b86c-d99857f3d75c"> dufs -A -a log(can not copy file): ![image](https://github.com/sigoden/dufs/assets/9170983/c030e5c5-49c5-475d-a06a-de320b87790d)
Author
Owner

@hw2411 commented on GitHub (May 15, 2024):

@sigoden thx a lot

<!-- gh-comment-id:2111642352 --> @hw2411 commented on GitHub (May 15, 2024): @sigoden thx a lot
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#203