mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-03 19:20:16 +00:00
File copying permissions fixed with sudo.
This commit is contained in:
parent
5e4c2cf966
commit
f14e9e4604
2 changed files with 0 additions and 14 deletions
|
@ -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/
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue