mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #459] dufs can't list symbolic link #250
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 @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:
#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
@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.