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:
parent
ffe39d3842
commit
69e3595904
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue