[GH-ISSUE #459] dufs can't list symbolic link #250

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

Originally created by @godlessroger on GitHub (Oct 6, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/459

Problem
when run in docker ,with "docker run -v /home/docker/data:/data -p 5000:5000 --rm sigoden/dufs:v0.42.0 -c /data/config.yaml", allow-symlink: true in config.yaml, but dufs still can't list symbolic link

Environment:
Dufs version: v0.42.0
OS Info: Linux pi 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux
Symbolic link: /home/docker/data/media -> /mnt/sda1/media

Configuration
serve-path: '.'
bind: 0.0.0.0
port: 5000
path-prefix: /dufs
hidden:

  • tmp
  • '*.log'
  • '*.lock'
    #auth:

- admin:admin@/:rw

- user:pass@/src:rw,/share

#allow-all: false
allow-upload: false
allow-delete: false
allow-search: true
allow-symlink: true
allow-archive: false
enable-cors: true
render-index: true
render-try-index: true
render-spa: true
#assets: ./assets/
log-format: '$remote_addr "$request" $status $http_user_agent'
log-file: ./dufs.log
compress: low

Originally created by @godlessroger on GitHub (Oct 6, 2024). Original GitHub issue: https://github.com/sigoden/dufs/issues/459 **Problem** when run in docker ,with "docker run -v /home/docker/data:/data -p 5000:5000 --rm sigoden/dufs:v0.42.0 -c /data/config.yaml", allow-symlink: true in config.yaml, but dufs still can't list symbolic link Environment: Dufs version: v0.42.0 OS Info: Linux pi 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux Symbolic link: /home/docker/data/media -> /mnt/sda1/media **Configuration** serve-path: '.' bind: 0.0.0.0 port: 5000 path-prefix: /dufs hidden: - tmp - '*.log' - '*.lock' #auth: # - admin:admin@/:rw # - user:pass@/src:rw,/share #allow-all: false allow-upload: false allow-delete: false allow-search: true allow-symlink: true allow-archive: false enable-cors: true render-index: true render-try-index: true render-spa: true #assets: ./assets/ log-format: '$remote_addr "$request" $status $http_user_agent' log-file: ./dufs.log compress: low
zhus closed this issue 2026-04-08 16:51:30 +03:00
Author
Owner

@sigoden commented on GitHub (Oct 6, 2024):

This is probably a docker problem.

Docker cannot handle links that point to files outside of the Docker filesystem.

<!-- gh-comment-id:2395502902 --> @sigoden commented on GitHub (Oct 6, 2024): This is probably a docker problem. Docker cannot handle links that point to files outside of the Docker filesystem.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#250