diff --git a/scripts/install b/scripts/install index c6fd143..1d971af 100644 --- a/scripts/install +++ b/scripts/install @@ -54,10 +54,10 @@ sudo apt-get install php5-gd php5-curl php5-imagick php5-cli -y final_path=/var/www/movim sudo mkdir -p $final_path sudo cp -a ../sources/* $final_path -sudo chown -R movim:www-data $final_path -# Create movim system user +# 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 # Install PHP dependencies sudo su -c "curl -sS https://getcomposer.org/installer | php -- --install-dir=$final_path" movim