Skip to content
This repository was archived by the owner on Aug 31, 2026. It is now read-only.
This repository was archived by the owner on Aug 31, 2026. It is now read-only.

Cannot list directory if at least one subfolder is inaccessible #5627

Closed

Description

@mioux

Checklist

Version

File Browser 2.52.0

Description

I have a subfolder mounted through rclone to access my proton drive. This is a temporary mount until I get back all my backups from there to my NAS (which will be very long, but that is an unrelated issue :D ), but it prevents folders to be shown when entering the root folder

Image

If I set the URL to any accessible subfolder, it works (here /media)

Image

Here is my ls status

$ LANG=C ls -lAh
ls: cannot access 'proton-mount': Permission denied
total 0
drwxrwxr-x+ 1 jellyfin users 104 Dec 16 09:31 media
d?????????? ? ?        ?       ?            ? proton-mount

and the log from filebrowser

déc. 18 07:36:15 pve systemd[1]: Started filebrowser.service - file browser on /volume1.
déc. 18 07:36:15 pve filebrowser[2471860]: 2025/12/18 07:36:15 Using config file: /etc/filebrowser/.filebrowser.yml
déc. 18 07:36:15 pve filebrowser[2471860]: 2025/12/18 07:36:15 Using database: /var/lib/filebrowser/filebrowser.db
déc. 18 07:36:15 pve filebrowser[2471860]: 2025/12/18 07:36:15 Listening on 127.0.0.1:7890
déc. 18 07:36:27 pve filebrowser[2471860]: 2025/12/18 07:36:27 /: 403 127.0.0.1 lstat /volume1/proton-mount: permission denied
déc. 18 07:38:43 pve filebrowser[2471860]: 2025/12/18 07:38:43 /: 403 127.0.0.1 lstat /volume1/proton-mount: permission denied
déc. 18 07:39:07 pve filebrowser[2471860]: 2025/12/18 07:39:07 /: 403 127.0.0.1 lstat /volume1/proton-mount: permission denied

What did you expect to happen?

The list of other folders should be shown

What actually happened?

filebrowser don't show any of the folders

Reproduction Steps

Create a subfolder completely inaccessible via the user running filebrowser, and set it along accessible one

FYI, in my case, the folder is mounted through the command :

rclone --protondrive-2fa=$(oauth tool -b --totp THESECRETKEYOFMYTOTP) mount proton-drive: /volume1/proton-mount --vfs-cache-mode writes

Files

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions