diff --git a/.dev-tools/install-nginx-1.sh b/.dev-tools/install-nginx-1.sh index 9dd6357b5..6f4746c8b 100755 --- a/.dev-tools/install-nginx-1.sh +++ b/.dev-tools/install-nginx-1.sh @@ -222,6 +222,9 @@ printf '\n%s\n%s\n%s\n\n' "######################" "Now Run our Curl Tests" "### # Copy all .conf files used in Test 1 to a folder for checking # ************************************************************ +sudo chown -r www-data:www-data /etc/nginx/bots.d/ +sudo chown -r www-data:www-data /etc/nginx/conf.d/ + cp /etc/nginx/bots.d/* $TRAVIS_BUILD_DIR/.dev-tools/_conf_files_test1/bots.d/ cp /etc/nginx/conf.d/* $TRAVIS_BUILD_DIR/.dev-tools/_conf_files_test1/conf.d/ diff --git a/.dev-tools/install-nginx-2.sh b/.dev-tools/install-nginx-2.sh index 8d439c62a..51f21eb02 100755 --- a/.dev-tools/install-nginx-2.sh +++ b/.dev-tools/install-nginx-2.sh @@ -255,6 +255,10 @@ printf '\n%s\n%s\n%s\n\n' "######################" "Now Run our Curl Tests" "### # Copy all .conf files used in Test 2 to a folder for checking # ************************************************************ +sudo chown -r www-data:www-data /usr/local/nginx/bots.d/ +sudo chown -r www-data:www-data /usr/local/nginx/conf.d/ + + cp /usr/local/nginx/bots.d/* $TRAVIS_BUILD_DIR/.dev-tools/_conf_files_test2/bots.d/ cp /usr/local/nginx/conf.d/* $TRAVIS_BUILD_DIR/.dev-tools/_conf_files_test2/conf.d/