A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Don't fail on setting consumption-dir permissions
Pit Kleyersburgf88ec987a3d7
diff --git a/scripts/docker-entrypoint.sh b/scripts/docker-entrypoint.shindex 14d385469..7a5e26897 100644--- a/scripts/docker-entrypoint.sh+++ b/scripts/docker-entrypoint.sh@@ -16,8 +16,24 @@ map_uidgid() {set_permissions() {# Set permissions for consumption directory- chgrp paperless "$PAPERLESS_CONSUMPTION_DIR"- chmod g+x "$PAPERLESS_CONSUMPTION_DIR"+ chgrp paperless "$PAPERLESS_CONSUMPTION_DIR" || {+ echo "Changing group of consumption directory:"+ echo " $PAPERLESS_CONSUMPTION_DIR"+ echo "failed."+ echo ""+ echo "Either try to set it on your host-mounted directory"+ echo "directly, or make sure that the directory has \`o+x\`"+ echo "permissions and the files in it at least \`o+r\`."+ } >&2+ chmod g+x "$PAPERLESS_CONSUMPTION_DIR" || {+ echo "Changing group permissions of consumption directory:"+ echo " $PAPERLESS_CONSUMPTION_DIR"+ echo "failed."+ echo ""+ echo "Either try to set it on your host-mounted directory"+ echo "directly, or make sure that the directory has \`o+x\`"+ echo "permissions and the files in it at least \`o+r\`."+ } >&2# Set permissions for application directorychown -Rh paperless:paperless /usr/src/paperless