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