From e87fe05ae7c8424b7c31eceffe8b7430ed2ebd3e Mon Sep 17 00:00:00 2001 From: Ivo Fokkema Date: Wed, 4 Sep 2019 14:07:07 +0200 Subject: [PATCH] Make sure we can actually read Apache's error logs. --- tests/travis/setup/setup_apache.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/travis/setup/setup_apache.sh b/tests/travis/setup/setup_apache.sh index 4a23ffa7..93706edf 100755 --- a/tests/travis/setup/setup_apache.sh +++ b/tests/travis/setup/setup_apache.sh @@ -1,6 +1,6 @@ #!/bin/bash -# This file configures the apache server. +# This file configures the apache server. # The githubaccount parameter is required. This will be the root folder for localhost. for i in "$@" do @@ -50,3 +50,7 @@ sudo apt-get -qq -y install exim4 apcupsd nmap echo 'Restart apache2' sudo /etc/init.d/apache2 restart + +# Make sure the error logs are readable for us. +sudo chmod +rx /var/log/apache2 +sudo chmod +r /var/log/apache2/error.log -- GitLab