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

Update install

This commit is contained in:
frju365 2017-02-22 15:44:15 +01:00 committed by GitHub
parent 44dd8e94a2
commit 586ae5e7d3

View file

@ -81,17 +81,19 @@ sudo php cli_install.php install \
popd
# file owned by www-data before checking permissions
sudo chown www-data:www-data $final_path -R
# Files owned by root, www-data can just read
sudo chmod 0777 $final_path/system/config.php
sudo chmod 0777 $final_path/system/
sudo chmod 0777 $final_path/system/cache/
sudo chmod 0777 $final_path/system/logs/
sudo chmod 0777 $final_path/image/
sudo chmod 0777 $final_path/image/thumbnails/
sudo chmod 0777 $final_path/download/
sudo chmod 0777 $final_path/extensions/
sudo chmod 0777 $final_path/admin/system/backup/
sudo chmod 0777 $final_path/resources/
sudo chmod 0777 $final_path/system/cache/ -R
sudo chmod 0777 $final_path/system/logs/ -R
sudo chmod 0777 $final_path/image/ -R
sudo chmod 0777 $final_path/image/thumbnails/ -R
sudo chmod 0777 $final_path/download/ -R
sudo chmod 0777 $final_path/extensions/ -R
sudo chmod 0777 $final_path/resources/ -R
# set database configuration
sed -i "s@YNH_WWW_PATH@$path@g" ../conf/nginx.conf