From a4b70f924bcf9c3fa9ba1d84bb4885b05fc3d97b Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 20 Apr 2021 19:18:19 +0200 Subject: [PATCH] Update install --- scripts/install | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 804d77e..0b6ba53 100755 --- a/scripts/install +++ b/scripts/install @@ -138,8 +138,7 @@ ynh_permission_update --permission="main" --remove="visitors" #================================================= # Set permissions to app files -chown -R $app:root $final_path -chmod -R o-rwx $final_path +chown -R $app:$app $final_path chown -R www-data:www-data $final_path/writable chown -R www-data:www-data $final_path/public/media chmod 600 $final_path/.env