diff --git a/scripts/install b/scripts/install index 9a3e583..6c19c0f 100644 --- a/scripts/install +++ b/scripts/install @@ -58,7 +58,7 @@ sudo cp -a ../sources/* $final_path # Create movim system user and set permissions sudo useradd -d /var/www/movim -s /bin/sh movim sudo chown -R movim:www-data $final_path -sudo chmod -R 750 $final_path +sudo chmod -R 770 $final_path # Install PHP dependencies sudo su -c "curl -sS https://getcomposer.org/installer | php -- --install-dir=$final_path" movim diff --git a/scripts/upgrade b/scripts/upgrade index d5ce1a2..eddd07e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -13,11 +13,11 @@ sudo cp -a ../sources/* $final_path # Create movim user if not exists and set permissions if grep -q movim /etc/passwd; then sudo chown -R movim:www-data $final_path - sudo chmod -R 750 $final_path + sudo chmod -R 770 $final_path else sudo useradd -s /bin/sh -d $final_path movim sudo chown -R movim:www-data $final_path - sudo chmod -R 750 $final_path + sudo chmod -R 770 $final_path fi # Update PHP dependencies