From 85be69b5ce15db0d9df0f0ca191be43c2ea6bc31 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Thu, 20 Sep 2018 22:09:43 +0200 Subject: [PATCH 1/2] Set permissions during the restore script --- scripts/restore | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/restore b/scripts/restore index bae61cd..56e3f83 100644 --- a/scripts/restore +++ b/scripts/restore @@ -125,6 +125,13 @@ ynh_use_nodejs npm cache clean npm install forever -g >> $install_log 2>&1 +#================================================= +# SECURING FILES AND DIRECTORIES +#================================================= + +# Set files ownership to etherpad +chown -R $app: $final_path + #================================================= # ENABLE SERVICE IN ADMIN PANEL #================================================= From 8c73fd242286029991b774d02ce9209c88793c21 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Fri, 5 Oct 2018 20:32:56 +0200 Subject: [PATCH 2/2] Update mypads to 1.6.8 --- scripts/_variables | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_variables b/scripts/_variables index a20c68e..7eb4c6b 100644 --- a/scripts/_variables +++ b/scripts/_variables @@ -11,4 +11,4 @@ nodejs_version=6 # Version of mypads # This variable is mostly used to force an upgrade of the package in case of new versions of mypads. -mypads_version=1.6.2 +mypads_version=1.6.8