From a335e2f3322bdf8f84d202f9402808b282b6a64f Mon Sep 17 00:00:00 2001 From: Le Kload Date: Mon, 16 Nov 2015 01:37:25 +0100 Subject: [PATCH] [fix] Ensure 'files' directory creation --- scripts/upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index ddca5b6..9220aac 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -32,7 +32,8 @@ sudo mkdir -p $final_path sudo cp ../sources/admin.php $final_path/ sudo cp -r ../sources/_assets $final_path/ -# Set permissions +# Create directory and set permissions +sudo mkdir -p $final_path/files sudo chmod 775 -R $final_path/files sudo chown -hR www-data:www-data $final_path/files