mirror of
https://github.com/YunoHost-Apps/dokuwiki_ynh.git
synced 2024-09-03 18:26:20 +02:00
On évite les arguments trop long dans install
This commit is contained in:
parent
ca1a0dbc3b
commit
d510152555
1 changed files with 5 additions and 2 deletions
|
@ -62,8 +62,11 @@ sudo find $final_path -type d -print0 | xargs -0 sudo chmod 0755
|
|||
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,data,data/attic,data/cache,data/index,data/locks,data/media*,data/meta,data/pages,data/tmp,lib/plugins,lib/tpl}
|
||||
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}
|
||||
|
||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue