[PR #7724] Don't let permission denied kill library scans #11504

Closed
opened 2026-02-07 06:39:39 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/jellyfin/jellyfin/pull/7724

State: closed
Merged: Yes


Changes
I have a single ./Movies directory that contains symlinks to many
other directories, some of which are in shared paths. Other daemons
sometimes overwrite permissions on these paths and prevent Jellyfin from
being able to scan. Because this exception is unhandled within a LINQ
statement it non-deterministically kills metadata refresh for my entire Movies
library.

Running with this patch has allowed me to at least add + scan for
movies in directories that Jellyfin can currently access and gives me
some notification of the symlinks failing due to permissions errors.

Issues
May be related to #7130

**Original Pull Request:** https://github.com/jellyfin/jellyfin/pull/7724 **State:** closed **Merged:** Yes --- **Changes** I have a single `./Movies` directory that contains symlinks to many other directories, some of which are in shared paths. Other daemons sometimes overwrite permissions on these paths and prevent Jellyfin from being able to scan. Because this exception is unhandled within a LINQ statement it non-deterministically kills metadata refresh for my entire Movies library. Running with this patch has allowed me to at least add + scan for movies in directories that Jellyfin can currently access and gives me some notification of the symlinks failing due to permissions errors. **Issues** May be related to #7130
OVERLORD added the pull-request label 2026-02-07 06:39:39 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#11504