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:
parent
54c98cb72c
commit
3f03f7c906
1 changed files with 3 additions and 1 deletions
|
@ -46,7 +46,7 @@ app=rainloop
|
||||||
# Use of latest community edition
|
# 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
|
sudo wget https://github.com/RainLoop/rainloop-webmail/releases/download/v1.10.1.127/rainloop-community-1.10.1.127-18d553ae9cd96eb102059b04fdee62e0.zip
|
||||||
#Check checksum
|
#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
|
# Install plugins
|
||||||
sudo mkdir -p $rainloop_path/data/_data_/_default_/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
|
sudo sed -i "s@PATHTOCHANGE@$path@g" $final_path/index.php
|
||||||
|
|
||||||
# Set permissions to rainloop directory
|
# 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
|
sudo chown -R www-data:www-data $final_path
|
||||||
|
|
||||||
# Install Nginx configuration file
|
# Install Nginx configuration file
|
||||||
|
|
Loading…
Reference in a new issue