File copying permissions fixed with sudo.

This commit is contained in:
Mitchell Krog 2017-08-24 12:21:01 +02:00
parent 5e4c2cf966
commit f14e9e4604
No known key found for this signature in database
GPG key ID: 2BB9A077C8DD6994
2 changed files with 0 additions and 14 deletions

View file

@ -222,13 +222,6 @@ 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/
#sudo chown -R www-data:www-data /etc/nginx/bots.d/
#sudo chown -R www-data:www-data /etc/nginx/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/

View file

@ -255,13 +255,6 @@ 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/
#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 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/