mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 18:50:13 +00:00
Fix File Ownership Issues (5)
This commit is contained in:
parent
8677a95fde
commit
188bb3b66d
2 changed files with 13 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue