Skip to content
Discussion options

You must be logged in to vote

lstat only needs search (x) permission on the directories in the path, not read permission on the file itself, so with drwxr-xr-x folders it shouldn't fail on mode bits alone. When it still returns permission denied for one album and not the others, the usual cause is something outside the classic permissions that's different on just those new files:

  1. Check as the user Navidrome actually runs as. If it's in Docker, run it inside the container, since the user: / PUID there may not be you:

    docker exec -it navidrome stat "/music/Artist/New Album/01 - Track.flac"

    On the host, namei -l "/path/to/Artist/New Album/01 - Track.flac" shows the owner and mode of every directory along the path, incl…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Yayroos
Comment options

Answer selected by Yayroos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants