From e0b152f4523c3754059dbb8480f992ac172399b9 Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Tue, 30 Nov 2021 14:02:52 +0100 Subject: [PATCH] fix: set perms --- entrypoint.sh.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/entrypoint.sh.tmpl b/entrypoint.sh.tmpl index 4cf17e7..e4f56f6 100644 --- a/entrypoint.sh.tmpl +++ b/entrypoint.sh.tmpl @@ -28,6 +28,7 @@ if [ ! -f "/books/metadata.db" ]; then /usr/bin/mkdir -p /books /usr/bin/calibredb restore_database --really-do-it --with-library /books /usr/bin/chown abc:abc /books/metadata.db + /usr/bin/chmod a+rw /books/metadata.db else echo "/books/metadata.db exists, not creating another one" fi