From cc77cd788deebe036180099ccca0af5ca43af3f0 Mon Sep 17 00:00:00 2001 From: ljf Date: Thu, 9 Feb 2017 13:37:51 +0100 Subject: [PATCH 1/2] [fix] Permission issue on install of some apps 778 --- data/helpers.d/filesystem | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/data/helpers.d/filesystem b/data/helpers.d/filesystem index 27a016e63..bce58b5cf 100644 --- a/data/helpers.d/filesystem +++ b/data/helpers.d/filesystem @@ -70,6 +70,13 @@ ynh_bind_or_cp() { # usage: ynh_mkdir_tmp # | ret: the created directory path ynh_mkdir_tmp() { - echo "This helper is deprecated, you should use 'mktemp -d' instead." >&2 - mktemp -d + echo "The helper ynh_mkdir_tmp is deprecated." >&2 + echo "You should use 'mktemp -d' instead and manage permissions \ +properly with chmod/chown." >&2 + local TMP_DIR=$(mktemp -d) + + # Give rights to other users could be a security risk. + # But for retrocompatibility we need it. (This helpers is deprecated) + chmod 755 $TMP_DIR + echo $TMP_DIR } From 1af7b9cf328ffff195677a9c70d960bcc0b4c320 Mon Sep 17 00:00:00 2001 From: opi Date: Thu, 9 Feb 2017 22:27:26 +0100 Subject: [PATCH 2/2] Update changelog for 2.5.5 release --- debian/changelog | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/debian/changelog b/debian/changelog index e86ca03a8..42f5eb241 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +yunohost (2.5.5) stable; urgency=low + + Hotfix release + + [ ljf ] + * [fix] Permission issue on install of some apps 778 + + -- opi Thu, 09 Feb 2017 22:27:08 +0100 + yunohost (2.5.4) stable; urgency=low [ Maniack Crudelis ]