From 7f1b13356c8c207f0815839eb2a67773021d17d7 Mon Sep 17 00:00:00 2001 From: polytan02 Date: Fri, 24 Feb 2017 18:37:22 +0000 Subject: [PATCH] No need to change permissions Since we download sources directly, no need to change permissions --- scripts/install | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scripts/install b/scripts/install index 35474ce..3bbfde5 100644 --- a/scripts/install +++ b/scripts/install @@ -96,17 +96,6 @@ popd # file owned by www-data before checking permissions sudo chown www-data:www-data $final_path -R -# Files owned by root, www-data can just read -sudo chmod 0777 $final_path/system/config.php -sudo chmod 0777 $final_path/system/ -sudo chmod 0777 $final_path/system/cache/ -R -sudo chmod 0777 $final_path/system/logs/ -R -sudo chmod 0777 $final_path/image/ -R -sudo chmod 0777 $final_path/image/thumbnails/ -R -sudo chmod 0777 $final_path/download/ -R -sudo chmod 0777 $final_path/extensions/ -R -sudo chmod 0777 $final_path/resources/ -R - # set database configuration sed -i "s@YNH_WWW_PATH@$path@g" ../conf/nginx.conf