[GH-ISSUE #479] "allow-all=true" in config.yaml doesn't work #267

Closed
opened 2026-04-08 16:51:36 +03:00 by zhus · 1 comment
Owner

Originally created by @lyxichigoichie on GitHub (Nov 13, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/479

Problem

While I set allow-all-true in the config.yaml and run

./dufs --config config.yaml

It seems it doesn't work since the upload, new file, new folder icon do not appear on the webpage
Configuration
config.yaml

serve-path: '/mnt/e'
bind: 0.0.0.0
port: 5000
#path-prefix: /dufs
hidden:
  - tmp
  - '*.log'
  - '*.lock'
auth:
  - admin:admin@/:rw
  - user:pass@/src:rw,/share
  - '@/'  # According to the YAML spec, quoting is required.
allow-all: true
#allow-upload: true
#allow-delete: true
#allow-search: true
#allow-symlink: true
#allow-archive: true
enable-cors: true
render-index: true
render-try-index: true
render-spa: true
#assets: ./data
log-format: '$remote_addr "$request" $status $http_user_agent'
log-file: ./dufs.log
compress: low
#tls-cert: tests/data/cert.pem
#tls-key: tests/data/key_pkcs1.pem

Screenshots/Media
0b5cf0bf0b365f9b7a7c386791b58f7

Environment Information

  • Dufs version: v0.43.0
  • Browser/Webdav info: chrome
  • OS info: ubuntu20.04 in WSL 2.0, win10
Originally created by @lyxichigoichie on GitHub (Nov 13, 2024). Original GitHub issue: https://github.com/sigoden/dufs/issues/479 **Problem** While I set `allow-all-true` in the `config.yaml` and run ```bash ./dufs --config config.yaml ``` It seems it doesn't work since the upload, new file, new folder icon do not appear on the webpage **Configuration** config.yaml ```yaml serve-path: '/mnt/e' bind: 0.0.0.0 port: 5000 #path-prefix: /dufs hidden: - tmp - '*.log' - '*.lock' auth: - admin:admin@/:rw - user:pass@/src:rw,/share - '@/' # According to the YAML spec, quoting is required. allow-all: true #allow-upload: true #allow-delete: true #allow-search: true #allow-symlink: true #allow-archive: true enable-cors: true render-index: true render-try-index: true render-spa: true #assets: ./data log-format: '$remote_addr "$request" $status $http_user_agent' log-file: ./dufs.log compress: low #tls-cert: tests/data/cert.pem #tls-key: tests/data/key_pkcs1.pem ``` **Screenshots/Media** ![0b5cf0bf0b365f9b7a7c386791b58f7](https://github.com/user-attachments/assets/0f0e6193-c87a-487a-854e-8a096f30e760) <!-- If applicable, add screenshots or videos that help illustrate the issue, especially for WebUI problems. --> **Environment Information** - Dufs version: v0.43.0 - Browser/Webdav info: chrome - OS info: ubuntu20.04 in WSL 2.0, win10
zhus closed this issue 2026-04-08 16:51:36 +03:00
Author
Owner

@sigoden commented on GitHub (Nov 13, 2024):

cannot confirm the bug.

Have you logged in? If you haven't logged in, using an anonymous user, you won't have readwrite permissions.

<!-- gh-comment-id:2473685407 --> @sigoden commented on GitHub (Nov 13, 2024): cannot confirm the bug. Have you logged in? If you haven't logged in, using an anonymous user, you won't have readwrite permissions.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#267