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