From 5197f92685df7ce17617c79115499b2c5ceba02c Mon Sep 17 00:00:00 2001 From: Louis Simoneau Date: Fri, 10 Apr 2026 21:11:53 +1000 Subject: [PATCH] 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 --- infra/ansible/playbook.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/ansible/playbook.yml b/infra/ansible/playbook.yml index f8c7480..26dd292 100644 --- a/infra/ansible/playbook.yml +++ b/infra/ansible/playbook.yml @@ -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"