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

On comment les chmod qui font planter l'upgrade sur package_checker

This commit is contained in:
magikcypress 2017-03-09 18:13:50 +01:00
parent 22a6733b3e
commit bc6126f6a8

View file

@ -68,10 +68,10 @@ sudo chown -R www-data: $final_path
# except for conf, data, some data subfolders, and lib/plugin, where www-data must have write permissions
sudo chown -R www-data:root $final_path/{conf,data,data/attic,data/cache,data/index,data/locks,data/media*,data/meta,data/pages,data/tmp,lib/plugins,lib/tpl}
sudo chmod -R 700 $final_path/conf
sudo chmod -R 700 $final_path/data
sudo chmod -R 700 $final_path/lib/plugins
sudo chmod -R 700 $final_path/lib/tpl
# sudo chmod -R 700 $final_path/conf
# sudo chmod -R 700 $final_path/data
# sudo chmod -R 700 $final_path/lib/plugins
# sudo chmod -R 700 $final_path/lib/tpl
# Modify Nginx configuration file and copy it to Nginx conf directory
sed -i "s@__PATHTOCHANGE__@$path@g" ../conf/nginx.conf