From 938bf5fa2fb136cc1628e4a61ee245b8adfe2cd1 Mon Sep 17 00:00:00 2001 From: Craftsman <70558837+fit2-zhao@users.noreply.github.com> Date: Thu, 15 May 2025 18:27:57 +0800 Subject: [PATCH] ci: Directory Authorization --- installer/Dockerfile | 4 ++-- installer/shells/start-all.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/Dockerfile b/installer/Dockerfile index aba4fa21a..d036fce6a 100644 --- a/installer/Dockerfile +++ b/installer/Dockerfile @@ -64,7 +64,7 @@ RUN echo -n "${CRM_VERSION}" > /tmp/CRM_VERSION VOLUME [ "/opt/cordys/data", "/opt/cordys/logs", "/opt/cordys/conf" ] -RUN chmod 755 /shells/*.sh -RUN chmod -R 755 /opt/cordys +RUN chmod 777 /shells/*.sh +RUN chmod -R 777 /opt/cordys ENTRYPOINT ["sh", "/shells/start-all.sh"] \ No newline at end of file diff --git a/installer/shells/start-all.sh b/installer/shells/start-all.sh index a86888e40..feabac5ea 100644 --- a/installer/shells/start-all.sh +++ b/installer/shells/start-all.sh @@ -1,7 +1,7 @@ #!/bin/bash # 启动 CORDYS CRM应用及其依赖服务(MySQL 和 Redis) -chmod -R 755 /opt/cordys +chmod -R 777 /opt/cordys # 日志函数 log_info() {