ci: Directory Authorization

This commit is contained in:
Craftsman
2025-05-15 18:27:57 +08:00
parent 422210e7a7
commit 938bf5fa2f
2 changed files with 3 additions and 3 deletions

View File

@@ -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"]

View File

@@ -1,7 +1,7 @@
#!/bin/bash
# 启动 CORDYS CRM应用及其依赖服务(MySQL 和 Redis)
chmod -R 755 /opt/cordys
chmod -R 777 /opt/cordys
# 日志函数
log_info() {