1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rainloop_ynh.git synced 2024-09-03 20:16:18 +02:00

Fix permissions

This commit is contained in:
Jeff 2016-06-28 17:09:13 +02:00 committed by GitHub
parent 54c98cb72c
commit 3f03f7c906

View file

@ -46,7 +46,7 @@ app=rainloop
# Use of latest community edition
sudo wget https://github.com/RainLoop/rainloop-webmail/releases/download/v1.10.1.127/rainloop-community-1.10.1.127-18d553ae9cd96eb102059b04fdee62e0.zip
#Check checksum
sudo unzip -q rainloop-community-1.10.1.*.zip -d $rainloop_path/
sudo unzip -qq rainloop-community-1.10.1.*.zip -d $rainloop_path/
# Install plugins
sudo mkdir -p $rainloop_path/data/_data_/_default_/plugins
@ -114,6 +114,8 @@ app=rainloop
sudo sed -i "s@PATHTOCHANGE@$path@g" $final_path/index.php
# Set permissions to rainloop directory
sudo find $final_path/. -type d -exec chmod 755 {} \;
sudo find $final_path/. -type f -exec chmod 644 {} \;
sudo chown -R www-data:www-data $final_path
# Install Nginx configuration file