From 0effd2b6b8143b0e6bf48b6176eaaa437af988bc Mon Sep 17 00:00:00 2001 From: Alexey Golubev Date: Tue, 2 Oct 2018 15:16:50 +0300 Subject: [PATCH] Setup logrotate config rights --- run-document-server.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/run-document-server.sh b/run-document-server.sh index c4ad86f..5e2585f 100755 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -272,6 +272,10 @@ for i in ${CONF_DIR} ${LOG_DIR} ${LIB_DIR} ${DATA_DIR}; do chmod -R 755 "$i" done +#setup logrotate config rights +chmod 644 ${CONF_DIR}/logrotate/* +chown root:root ${CONF_DIR}/logrotate/* + if [ ${ONLYOFFICE_DATA_CONTAINER_HOST} = "localhost" ]; then read_setting