fix: set perms

This commit is contained in:
decentral1se 2021-11-30 14:02:52 +01:00
parent 7633896a45
commit e0b152f452
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 1 additions and 0 deletions

View File

@ -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