From 5c57db7e1d14394a700fb01c3fc9c084197dd17c Mon Sep 17 00:00:00 2001 From: Alexey Golubev Date: Thu, 26 Apr 2018 16:55:02 +0300 Subject: [PATCH] Enable config modifications --- run-document-server.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/run-document-server.sh b/run-document-server.sh index cfbab3d..0c999a5 100755 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -272,6 +272,12 @@ for i in ${LOG_DIR} ${LIB_DIR} ${DATA_DIR}; do chmod -R 755 "$i" done +# enable config modifications +chmod ug+w \ + ${ONLYOFFICE_DEFAULT_CONFIG} \ + ${ONLYOFFICE_LOG4JS_CONFIG} \ + ${ONLYOFFICE_EXAMPLE_CONFIG} + if [ ${ONLYOFFICE_DATA_CONTAINER_HOST} = "localhost" ]; then read_setting