From 0385a933f765046c391f948011583ec44a13d2e1 Mon Sep 17 00:00:00 2001 From: Steven Mondji-Lerider Date: Fri, 12 Apr 2013 13:59:30 +0000 Subject: [PATCH 1/2] Fixes : #1480 (cherry picked from commit af974c7b8320d2071d62a5396d5e742094b35267) --- roundcube/roundcube-install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roundcube/roundcube-install b/roundcube/roundcube-install index 81011d12..f5280cb0 100644 --- a/roundcube/roundcube-install +++ b/roundcube/roundcube-install @@ -88,3 +88,8 @@ EOF fi +#This is necessary because upgrading roundcube from 7.1 to 7.2 changes this setting +if [ "$1" = "end" ]; then + chown alternc-roundcube:root /etc/roundcube/main.inc.php +fi + From 41278cc72a28a746eb245ec07fad9c43a0643da6 Mon Sep 17 00:00:00 2001 From: Dominique Rousseau Date: Mon, 14 May 2018 10:02:44 +0200 Subject: [PATCH 2/2] correct wrong owner for roundcube temp_dir /var/lib/roundcube/temp --- roundcube/roundcube-install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roundcube/roundcube-install b/roundcube/roundcube-install index f5280cb0..9833cee1 100644 --- a/roundcube/roundcube-install +++ b/roundcube/roundcube-install @@ -88,8 +88,10 @@ EOF fi -#This is necessary because upgrading roundcube from 7.1 to 7.2 changes this setting if [ "$1" = "end" ]; then + #This is necessary because upgrading roundcube from 7.1 to 7.2 changes this setting chown alternc-roundcube:root /etc/roundcube/main.inc.php + # In case owner is reset to www-data + chown alternc-roundcube:nogroup /var/lib/roundcube/temp fi