mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #266] upload/delete doesn't work on termux (android) #139
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 @zirf0 on GitHub (Sep 18, 2023).
Original GitHub issue: https://github.com/sigoden/dufs/issues/266
Problem
dufs run
dufs -A -a admin:123@/ --auth-method basic
verify
curl --user admin:123 http://127.0.0.1:5000/token.txt 2023-09-18T12:31:40+03:00 INFO - 127.0.0.1 "GET /token.txt" 200
curl --user admin:123 --basic -T $work/test.sh http://127.0.0.1:5000/test.sh 2023-09-18T12:32:31+03:00 INFO - 127.0.0.1 "PUT /test.sh" 403 Forbidden
curl --user admin:123 -X MOVE http://127.0.0.1:5000/hello.sh -H "Destination: https://127.0.0.1:5000/hello.bak" 2023-09-18T12:36:35+03:00 INFO - 127.0.0.1 "MOVE /hello.sh" 403 Forbidden
and so on. List/download works, whereas upload/delete/move does not. Also checked cadaver, Total Commander for android.
Log
See above
Environment:
@sigoden commented on GitHub (Sep 18, 2023):
you should run
dufs -A -a admin:123@/:rw --auth-method basicThe path requires
:rwprefix to grant write permission.