Fix calibre sync to import books as correct user
Prevents root-owned files in the library volume that calibre-web can't write to. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -544,7 +544,7 @@
|
||||
docker compose exec -T kobodl kobodl --config /home/config/kobodl.json book get --get-all --output-dir /downloads
|
||||
|
||||
# Import any new EPUBs into Calibre library
|
||||
docker compose exec -T calibre-web sh -c '
|
||||
docker compose exec -T --user abc calibre-web sh -c '
|
||||
for f in /downloads/*.epub; do
|
||||
[ -f "$f" ] || continue
|
||||
calibredb add "$f" --with-library /library/ && rm "$f"
|
||||
|
||||
Reference in New Issue
Block a user