add temporary directory during startup and ensure correct permissions

This commit is contained in:
jonaswinkler 2021-01-21 01:02:41 +01:00
parent 9575b0fe32
commit ddf386c4d4

View File

@ -79,7 +79,11 @@ initialize() {
fi
done
echo "creating directory /tmp/paperless"
mkdir -p /tmp/paperless
chown -R paperless:paperless ../
chown -R paperless:paperless /tmp/paperless
migrations