Remove last vestiges of alternc-roundcube user

This commit is contained in:
Kienan Stewart 2018-07-12 12:21:55 -04:00 committed by Benjamin Sonntag
parent b2f7538371
commit 54f5491dad
2 changed files with 4 additions and 10 deletions

View File

@ -11,11 +11,6 @@ LOGROTATE="/etc/logrotate.d/roundcube-core"
case "$1" in case "$1" in
configure) 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 : # removed from 3.1 & 3.2 :
dpkg-statoverride --list /var/lib/roundcube/temp >/dev/null && dpkg-statoverride --list /var/lib/roundcube/temp >/dev/null &&
dpkg-statoverride --remove /var/lib/roundcube/temp dpkg-statoverride --remove /var/lib/roundcube/temp

View File

@ -81,9 +81,8 @@ EOF
fi fi
if [ "$1" = "end" ]; then if [ "$1" = "end" ]; then
# This is necessary because upgrading roundcube from 7.1 to 7.2 changes this setting # Roundcube vhosts run as www-data instead of alternc-roundcube now.
chown alternc-roundcube:root /etc/roundcube/config.inc.php # Ensure the configuration is owned by the appropriate user.
# In case owner is reset to www-data chown www-data:root /etc/roundcube/config.inc.php
chown alternc-roundcube:nogroup /var/lib/roundcube/temp chown www-data:nogroup /var/lib/roundcube/temp
fi fi