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

[fix] scripts: chwon didn't works.

This commit is contained in:
Moul 2016-06-15 18:54:03 +00:00
parent ffe39d3842
commit 69e3595904
2 changed files with 4 additions and 2 deletions

View file

@ -41,7 +41,8 @@ sudo find $src_path -type f -name ".htaccess" | xargs sudo rm
#setup permissions
sudo chown -R root: $src_path
sudo chown -R www-data: $src_path/{data, plugins}
sudo chown -R www-data: $src_path/data
sudo chown -R www-data: $src_path/plugins
sudo find $src_path -type f | xargs sudo chmod 644
sudo find $src_path -type d | xargs sudo chmod 755

View file

@ -19,7 +19,8 @@ sudo find $src_path -type f -name ".htaccess" | xargs sudo rm
sudo rm $src_path/install.php
sudo chown -R root: $src_path
sudo chown -R www-data: $src_path/{data, plugins}
sudo chown -R www-data: $src_path/data
sudo chown -R www-data: $src_path/plugins
sudo find $src_path -type f | xargs sudo chmod 644
sudo find $src_path -type d | xargs sudo chmod 755