fix: set perms
This commit is contained in:
parent
7633896a45
commit
e0b152f452
@ -28,6 +28,7 @@ if [ ! -f "/books/metadata.db" ]; then
|
|||||||
/usr/bin/mkdir -p /books
|
/usr/bin/mkdir -p /books
|
||||||
/usr/bin/calibredb restore_database --really-do-it --with-library /books
|
/usr/bin/calibredb restore_database --really-do-it --with-library /books
|
||||||
/usr/bin/chown abc:abc /books/metadata.db
|
/usr/bin/chown abc:abc /books/metadata.db
|
||||||
|
/usr/bin/chmod a+rw /books/metadata.db
|
||||||
else
|
else
|
||||||
echo "/books/metadata.db exists, not creating another one"
|
echo "/books/metadata.db exists, not creating another one"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user