mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #273] Wrong documentation of --auth #145
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 @sralloza on GitHub (Oct 11, 2023).
Original GitHub issue: https://github.com/sigoden/dufs/issues/273
Problem
First, shoutout to the creator for this fantastic yet simple http server.
According to the docs, authentication can be enabled with
dufs -a admin:123@/:rw, but testing I think that the auth format is/path/to/something@user:passwordinstead ofuser:password@/:permissions.In fact, executing the last command (from the README) doesn't seem to work:
Am I missing something or are the docs outdated? Also I couldn't make it work with custom permissions.
Environment:
@sigoden commented on GitHub (Oct 11, 2023):
New auth added at v0.34.0, please update dufs to latest version, then try again.
@sralloza commented on GitHub (Oct 11, 2023):
Thanks for the quick response! I installed dufs using brew, it seems 0.32.0 it's the latest version there
@sigoden commented on GitHub (Oct 11, 2023):
The lastest version of dufs in homebrew is also v0.36.0. maybe you should update your brew fomurla.
see https://formulae.brew.sh/formula/dufs