From 6d12179a9b6bfa7a7fbba7839592fc0783b85b72 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Thu, 27 Mar 2014 18:06:36 +0100 Subject: [PATCH] fixing roundcube rights (Fixes #1560) --- debian/alternc-roundcube.postinst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/debian/alternc-roundcube.postinst b/debian/alternc-roundcube.postinst index 84faabad..6dfe23c9 100644 --- a/debian/alternc-roundcube.postinst +++ b/debian/alternc-roundcube.postinst @@ -18,22 +18,22 @@ case "$1" in # removed from 3.1 & 3.2 : dpkg-statoverride --list /var/lib/roundcube/temp >/dev/null && - dpkg-statoverride --remove alternc-roundcube root 0750 /var/lib/roundcube/temp + dpkg-statoverride --remove /var/lib/roundcube/temp chown -R www-data:root /var/lib/roundcube/temp chmod -R 750 /var/lib/roundcube/temp dpkg-statoverride --list /etc/roundcube/debian-db.php >/dev/null && - dpkg-statoverride --remove alternc-roundcube root 0460 /etc/roundcube/debian-db.php - chown -R alternc-roundcube:root /etc/roundcube/debian-db.php + dpkg-statoverride --remove /etc/roundcube/debian-db.php + chown -R www-data:root /etc/roundcube/debian-db.php chmod -R 460 /etc/roundcube/debian-db.php dpkg-statoverride --list /etc/roundcube/main.inc.php >/dev/null && - dpkg-statoverride --remove alternc-roundcube root 0460 /etc/roundcube/main.inc.php + dpkg-statoverride --remove /etc/roundcube/main.inc.php chown -R www-data:root /etc/roundcube/main.inc.php chmod -R 460 /etc/roundcube/main.inc.php dpkg-statoverride --list /var/log/roundcube >/dev/null && - dpkg-statoverride --remove alternc-roundcube root 0750 /var/log/roundcube + dpkg-statoverride --remove /var/log/roundcube chown -R www-data:root /var/log/roundcube chmod -R 750 /var/log/roundcube