diff --git a/HISTORY.rst b/HISTORY.rst index 043a8f818c..69dbd99bb5 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -8,6 +8,9 @@ * Add support for deleting the OCR content of a document or selection of documents. * Add OCR content deleted event. +* Add missing recursive option to Docker entrypoint + chown. GitLab issue #668. Thanks to John Wice (@brilthor) + for the report. 3.2.7 (2019-08-28) ================== diff --git a/docker/rootfs/usr/local/bin/entrypoint.sh b/docker/rootfs/usr/local/bin/entrypoint.sh index c0b54a7515..18b0aa7e78 100755 --- a/docker/rootfs/usr/local/bin/entrypoint.sh +++ b/docker/rootfs/usr/local/bin/entrypoint.sh @@ -40,7 +40,7 @@ update_uid_gid() { if [ ${MAYAN_USER_UID} -ne ${DEFAULT_USER_UID} ] || [ ${MAYAN_USER_GID} -ne ${DEFAULT_USER_GID} ]; then echo "mayan: Updating file ownership. This might take a while if there are many documents." - chown mayan:mayan ${MAYAN_INSTALL_DIR} ${MAYAN_STATIC_ROOT} ${MAYAN_MEDIA_ROOT} + chown -R mayan:mayan ${MAYAN_INSTALL_DIR} ${MAYAN_STATIC_ROOT} ${MAYAN_MEDIA_ROOT} fi } diff --git a/docs/releases/3.2.8.rst b/docs/releases/3.2.8.rst index 8c916b1dd2..4e131dea6f 100644 --- a/docs/releases/3.2.8.rst +++ b/docs/releases/3.2.8.rst @@ -23,6 +23,10 @@ Other changes - Update jQuery to version 3.4.1 - Add support for deleting the OCR content of a document or selection of documents. +- Add OCR content deleted event. +- Add missing recursive option to Docker entrypoint + chown. GitLab issue #668. Thanks to John Wice (@brilthor) + for the report. Removals -------- @@ -115,7 +119,7 @@ Backward incompatible changes Bugs fixed or issues closed --------------------------- -- :gitlab-issue:`643` The "Actions" button won't show up, if window size between 992 and 1248 px +- :gitlab-issue:`668` Permission denied errors with custom uid persist (650 needs re-open) - :forum-topic:`1120` Cabinet Presentation .. _PyPI: https://pypi.python.org/pypi/mayan-edms/