1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bozon_ynh.git synced 2024-09-03 18:16:09 +02:00
This commit is contained in:
ewilly 2017-07-07 07:11:17 +02:00
parent c90c8a9aa6
commit f4e500a940

View file

@ -79,7 +79,8 @@ myynh_set_permissions () {
[ $(sudo find "$data_path" -type d | wc -l) -gt 0 ] && sudo find "$data_path" -type d | xargs sudo chmod 0755 [ $(sudo find "$data_path" -type d | wc -l) -gt 0 ] && sudo find "$data_path" -type d | xargs sudo chmod 0755
sudo chown -R root:"$app" "$final_path" sudo chown -R root:"$app" "$final_path"
sudo chown -R "$app": "$final_path/private" sudo chown -R "$app": "$final_path/private"
sudo chown -R "$app": "$data_path/*" sudo chown -R "$app": "$data_path"
sudo chown root: "$data_path"
} }
# Remove the dedicated php-fpm config # Remove the dedicated php-fpm config