diff --git a/debian/alternc-roundcube.postinst b/debian/alternc-roundcube.postinst index 0d99169d..3acb05bf 100644 --- a/debian/alternc-roundcube.postinst +++ b/debian/alternc-roundcube.postinst @@ -11,11 +11,6 @@ LOGROTATE="/etc/logrotate.d/roundcube-core" case "$1" in configure) - # add alternc-roundcube user for php-itk special rights - if ! getent passwd alternc-roundcube; then - useradd -g nogroup -u 1996 alternc-roundcube -d /usr/share/roundcube - fi - # removed from 3.1 & 3.2 : dpkg-statoverride --list /var/lib/roundcube/temp >/dev/null && dpkg-statoverride --remove /var/lib/roundcube/temp diff --git a/roundcube/roundcube-install b/roundcube/roundcube-install index 4e9149b3..8f8cada6 100644 --- a/roundcube/roundcube-install +++ b/roundcube/roundcube-install @@ -81,9 +81,8 @@ EOF fi 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/config.inc.php - # In case owner is reset to www-data - chown alternc-roundcube:nogroup /var/lib/roundcube/temp + # Roundcube vhosts run as www-data instead of alternc-roundcube now. + # Ensure the configuration is owned by the appropriate user. + chown www-data:root /etc/roundcube/config.inc.php + chown www-data:nogroup /var/lib/roundcube/temp fi -