From c44b6e40b96fe48f2448ae35a555583d133eef9a Mon Sep 17 00:00:00 2001 From: src386 Date: Fri, 21 Aug 2015 16:31:12 +0200 Subject: [PATCH] revert to www-data user --- scripts/upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 3672cdf..4c8bfac 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -8,7 +8,8 @@ port=$(sudo yunohost app setting movim port) # Install Movim files final_path=/var/www/movim sudo cp -a ../sources/* $final_path -#sudo chown -R www-data: $final_path +sudo chown -R www-data: $final_path +sudo chmod -R 750 $final_path # Update PHP dependencies sudo su -c "curl -sS https://getcomposer.org/installer | php -- --install-dir=$final_path" -s /bin/sh www-data