Remove last vestiges of alternc-roundcube user
This commit is contained in:
parent
b2f7538371
commit
54f5491dad
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue