From dccadb0337d3adee305351a40619eafcaf5bbcdd Mon Sep 17 00:00:00 2001 From: "E. Balsa" Date: Wed, 14 Apr 2021 14:58:22 +0200 Subject: [PATCH] Change config file permissions --- server/files/entrypoint_nginx.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/server/files/entrypoint_nginx.sh b/server/files/entrypoint_nginx.sh index 6bb0495..4feeb12 100755 --- a/server/files/entrypoint_nginx.sh +++ b/server/files/entrypoint_nginx.sh @@ -136,6 +136,7 @@ echo "... chmod -R 0750 /var/www/MISP ..." && find /var/www/MISP -perm 550 -type echo "... chmod -R g+ws /var/www/MISP/app/tmp ..." && chmod -R g+ws /var/www/MISP/app/tmp echo "... chmod -R g+ws /var/www/MISP/app/files ..." && chmod -R g+ws /var/www/MISP/app/files echo "... chmod -R g+ws /var/www/MISP/app/files/scripts/tmp ..." && chmod -R g+ws /var/www/MISP/app/files/scripts/tmp +echo "... chmod 600 /var/www/MISP/app/Config/config.php /var/www/MISP/app/Config/database.php /var/www/MISP/app/Config/email.php ... " && chmod 600 /var/www/MISP/app/Config/config.php /var/www/MISP/app/Config/database.php /var/www/MISP/app/Config/email.php # Work around https://github.com/MISP/MISP/issues/5608 if [[ ! -f /var/www/MISP/PyMISP/pymisp/data/describeTypes.json ]]; then