Skip to content

Folder browser does not show symlinked directories #208

Closed

Description

@fluxis

Summary

Goal:
Add/browse a Silo library folder where the parent contains symlinked folders.

Steps:

  1. In my setup, Silo is running in Docker and I have this folder mounted:
- /home/user/Videos/pcs-syslink:/mnt/pcs-syslink:ro
  1. /mnt/pcs-syslink contains symlinks to real folders inside an rclone/FUSE mount.

Example from inside the container:

ls -la "/mnt/pcs-syslink/Africa (2013)"
# -> /mnt/unionfs/Media/TV/TV-Documentary/Africa (2013)

ls -la "/mnt/pcs-syslink/Africa (2013)/"
# shows Season 01 and tvshow.nfo correctly
  1. Open Silo’s Browse Library Folders dialog and browse to:
/mnt/pcs-syslink

Expected:
Symlinked folders that point to valid directories should appear as selectable/browsable folders.

Actual:
The symlinked folders do not appear when browsing /mnt/pcs-syslink, even though they work correctly inside the container shell.

However, if I manually enter a full symlink path, for example:

/mnt/pcs-syslink/Africa (2013)

and then press Browse, Silo can enter that folder and shows the contents correctly.

What is slow/broken:
Folder browsing / selecting library folders.

Scope:
Happens consistently for symlinked folders under /mnt/pcs-syslink. The targets are valid and readable inside the container.

Version/branch:
e244d4a

Deployment:
Docker. Media source is an rclone/FUSE mount.

Technical notes:
This may be because the folder browser checks only entry.IsDir() when listing child entries and does not follow symlinks. Symlink-to-directory entries may need to be handled with os.Stat() or similar so valid directory symlinks appear in the folder picker.

Reply digest

When adding/browsing a library folder whose parent contains symlinked directories (Docker bind mount), the symlinked folders aren't shown in the folder browser.

Code references

Verified against code 2026-06-25 (merged PRs + source). Verified not fixed (silo-server).

  • internal/api/handlers/filesystem.go: HandleBrowse filters with entry.IsDir(), which is false for symlinked dirs in Go -> symlinked folders not listed

Attachments

Source

Imported from Discord:

Activity

  1. added theissue type on Jun 25, 2026
  2. added a commit that references this issue on Jul 2, 2026
    cb8c109
  3. added 2 commits that reference this issue on Jul 10, 2026
    37ad393
    8b3ebc7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions