mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-05-30 23:40:40 +02:00
[Bug]: incorrect watcher "Error: EACCES: permission denied" for author folders for which it has +rx access to title folders to which it has +w access #2734
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @iconoclasthero on GitHub (Apr 28, 2025).
What happened?
Error:
[2025-04-28 10:26:04.225] [Watcher] ERROR Error: EACCES: permission denied, watch '/library/books/audiobooks/Tuccillo, Dylan; Zeizel, Jared; Peisel, Thomas'However, abs has +rx access to this folder and has no need to write to it, it just needs to be able to read and transit to the book subfolder:
In testing to see if abs can write e.g., metadata.json to the title folder (i.e., the only place that abs needs to write), it clearly can:
So the EACCES permission denied error is incorrect in that
Further, pursuant to #4230 this could be added as an "Issue" in the issues section of the UI to be subsequently addressed... which, on my system, happens automatically with a systemd service designed specifically to address the permissions on directories, cover and .json files created by abs...
What did you expect to happen?
I expect that ABS not error out when it can read & transit the folders it needs to to get to the folders it needs to write to and so long as it has read permissions, then it should not fail to add the folder completely.
Steps to reproduce the issue
see above.
Audiobookshelf version
v2.20.0
How are you running audiobookshelf?
Docker
What OS is your Audiobookshelf server hosted from?
Linux
If the issue is being seen in the UI, what browsers are you seeing the problem on?
None
Logs
Additional Notes
No response
@Nossarian commented on GitHub (Nov 20, 2025):
I believe I'm also running into this issue. Similar error, though on initial install of abs I had no issues quickmatching covers
[CoverManager] Download image file failed for "https://m.media-amazon.com/images/I/81nh6zlLZSL.jpg" [Error: EACCES: permission denied, open '/media/jellyfin-libs/Books/Audiobooks/Denny Flowers/Above and Beyond/cover'] { errno: -13, code: 'EACCES', syscall: 'open', path: '/media/jellyfin-libs/Books/Audiobooks/Denny Flowers/Above and Beyond/cover' }EDIT: I immediately resolved with with some more research into setfacl permissions
sudo setfacl -R -m u:audiobookshelf:rwx /path/to/root