- Fix config file permission problem.

This commit is contained in:
2025-03-12 23:09:10 +01:00
parent 26789dd35f
commit 0e7e524ff1
3 changed files with 9 additions and 2 deletions

View File

@@ -23,7 +23,9 @@ ARG MANTISBT_VERSION=2.27.1
ARG MANTISBT='#!/bin/bash \n\
\n\
chown -R apache:apache ${APACHE_DOC_ROOT} \n\
chmod -R u-x,g-x,o-rwx,u+X,g+X ${APACHE_DOC_ROOT} \n\
chmod -R a-x,a+X ${APACHE_DOC_ROOT} \n\
chmod o-rwx ${APACHE_DOC_ROOT} \n\
chmod -R o+rwX ${APACHE_DOC_ROOT}/mantisbt/config \n\
\n\
if [[ "${MANTISBT_ADMIN_ENABLED}" == "FALSE" ]] \n\
then \n\