Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dufs can't list symbolic link #459

Closed
godlessroger opened this issue Oct 6, 2024 · 1 comment
Closed

dufs can't list symbolic link #459

godlessroger opened this issue Oct 6, 2024 · 1 comment

Comments

@godlessroger
Copy link

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

@sigoden
Copy link
Owner

sigoden commented Oct 6, 2024

This is probably a docker problem.

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

@sigoden sigoden closed this as completed Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants