Closed zhi2xin1 closed 2 weeks ago
dufs -a @/:rw
is misconfig, use dufs -A
instead.
And I cannot confirm the 401 problem.
dufs -a @/:rw
is misconfig, usedufs -A
instead.And I cannot confirm the 401 problem.
Maybe you missunderstand my mean, I try to use -a to set user not use -A to set file auth, and the problem is that I can't login without username and passwd
@zhi2xin1
You have two problems:
If you want everyone to be able to access every file with read and write permissions, you should run dufs -A
. If you want everyone to have read-only access to all files, you should run dufs
.
Dufs uses --allow-*
to permit operations. If you do not allow write operations such as --allow-upload
or --allow-delete
, setting the auth to @/:rw
is meaningless.
Even when we run dufs -a @/:rw
, everything is fine; We can perform the desired actions without needing to log in; we cannot reproduce the 401 error that your logs indicate.
Please provide more detailed information for reproducing, including configuration, execution commands, and screenshots (on webdav client). Otherwise, we won't be able to assist you.
Problem
Why use [ dufs -a "@/:rw" ] in webdav fail? it's shows unauth when i try use no username and passwd
The client is AIMP play run in my android phone. When I use admin:admin to login it works(this time with -a admin:admin)
Configuration
use with no config file
Log
.\dufs.exe -a "@/:rw" Listening on: http://127.0.0.1:5000/ http://192.168.2.16:5000/ http://[::1]:5000/
2024-09-06T23:51:47+08:00 INFO - 192.168.2.9 "PROPFIND /" 401 2024-09-06T23:51:48+08:00 INFO - 192.168.2.9 "PROPFIND /" 401
Screenshots/Media
Environment Information