Fix File Ownership Issues (2)

This commit is contained in:
Mitchell Krog 2017-08-24 12:06:39 +02:00
parent da72196ab6
commit 5076facb96
No known key found for this signature in database
GPG key ID: 2BB9A077C8DD6994
2 changed files with 7 additions and 0 deletions

View file

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

View file

@ -255,6 +255,9 @@ 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 # 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/bots.d/
sudo chown -r www-data:www-data /usr/local/nginx/conf.d/ sudo chown -r www-data:www-data /usr/local/nginx/conf.d/