mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-09 00:59:02 +03:00
chore: update readme
This commit is contained in:
@@ -208,10 +208,11 @@ Dufs supports account based access control. You can control who can do what on w
|
|||||||
```
|
```
|
||||||
dufs -a [user:pass]@path[:rw][,path[:rw]...][|...]
|
dufs -a [user:pass]@path[:rw][,path[:rw]...][|...]
|
||||||
```
|
```
|
||||||
1: Multiple rules are separated by "|"
|
|
||||||
2: User and pass are the account name and password, if omitted, it is an anonymous user
|
1. Multiple rules are separated by "|"
|
||||||
3: One rule can set multiple paths, separated by ","
|
2. User and pass are the account name and password, if omitted, it is an anonymous user
|
||||||
4: Add `:rw` after the path to indicate that the path has read and write permissions, otherwise the path has readonly permissions.
|
3. One rule can set multiple paths, separated by ","
|
||||||
|
4. Add `:rw` after the path to indicate that the path has read and write permissions, otherwise the path has readonly permissions.
|
||||||
|
|
||||||
```
|
```
|
||||||
dufs -A -a admin:admin@/:rw
|
dufs -A -a admin:admin@/:rw
|
||||||
|
|||||||
Reference in New Issue
Block a user