diff --git a/.dev-tools/install-nginx-1.sh b/.dev-tools/install-nginx-1.sh index 7d9c00daa..bd9c8d55e 100755 --- a/.dev-tools/install-nginx-1.sh +++ b/.dev-tools/install-nginx-1.sh @@ -222,15 +222,15 @@ 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 # ************************************************************ -ls -la /etc/nginx/bots.d/ -ls -la /etc/nginx/bots.d/ -ls -la /etc/nginx/ +#ls -la /etc/nginx/bots.d/ +#ls -la /etc/nginx/bots.d/ +#ls -la /etc/nginx/ -sudo chown -R www-data:www-data /etc/nginx/bots.d/ -sudo chown -R www-data:www-data /etc/nginx/conf.d/ +#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/ +sudo cp /etc/nginx/bots.d/* $TRAVIS_BUILD_DIR/.dev-tools/_conf_files_test1/bots.d/ +sudo cp /etc/nginx/conf.d/* $TRAVIS_BUILD_DIR/.dev-tools/_conf_files_test1/conf.d/ # ***************************************************************************************** # Travis now moves into running the rest of the tests in the script: section of .travis.yml diff --git a/.dev-tools/install-nginx-2.sh b/.dev-tools/install-nginx-2.sh index e069432de..4c8a5a7f0 100755 --- a/.dev-tools/install-nginx-2.sh +++ b/.dev-tools/install-nginx-2.sh @@ -255,15 +255,15 @@ 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 # ************************************************************ -ls -la /usr/local/nginx/bots.d/ -ls -la /usr/local/nginx/conf.d/ +#ls -la /usr/local/nginx/bots.d/ +#ls -la /usr/local/nginx/conf.d/ -sudo chown -R www-data:www-data /usr/local/nginx/bots.d/ -sudo chown -R www-data:www-data /usr/local/nginx/conf.d/ +#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/ +sudo cp /usr/local/nginx/bots.d/* $TRAVIS_BUILD_DIR/.dev-tools/_conf_files_test2/bots.d/ +sudo cp /usr/local/nginx/conf.d/* $TRAVIS_BUILD_DIR/.dev-tools/_conf_files_test2/conf.d/ # ***************************************************************************************** # Travis now moves into running the rest of the tests in the script: section of .travis.yml