From 299d2019476a345e29b438f7781244ecf032590f Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 3 Apr 2021 10:26:28 +0200 Subject: [PATCH] Update install --- scripts/install | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/install b/scripts/install index 9371e50..f4e88f9 100755 --- a/scripts/install +++ b/scripts/install @@ -111,15 +111,15 @@ ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app" # SECURE FILES AND DIRECTORIES #================================================= -# # Set permissions to app files -# chown -R $app:$app $final_path -# #chmod o-rwx $final_path -# chmod 600 $final_path/.env +# Set permissions to app files +chown -R $app:$app $final_path +#chmod o-rwx $final_path +chmod 600 $final_path/.env -chown -R root:root $final_path -chmod o-rwx $final_path -chown -R www-data:www-data $final_path/writable -chown -R www-data:www-data $final_path/public/media +# chown -R root:root $final_path +# chmod o-rwx $final_path +# chown -R www-data:www-data $final_path/writable +# chown -R www-data:www-data $final_path/public/media #================================================= # SETUP SSOWAT