From c8e5670c7a95d7c2a5eecddd51c56192371becc5 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Sun, 26 Aug 2012 18:27:15 +0000 Subject: [PATCH] adding postinst for squirrelmail + user alternc-squirrelmail + statoverride for /var/lib/squirrelmail and /var/spool/squirrelmail --- debian/alternc-squirrelmail.postinst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/alternc-squirrelmail.postinst b/debian/alternc-squirrelmail.postinst index 5a69e6ed..14b642b3 100644 --- a/debian/alternc-squirrelmail.postinst +++ b/debian/alternc-squirrelmail.postinst @@ -14,7 +14,8 @@ case "$1" in if ! getent passwd alternc-squirrelmail; then useradd -g nogroup -u 1997 alternc-squirrelmail -d /usr/share/squirrelmail fi - dpkg-statoverride --add alternc-squirrelmail root 0750 /var/spool/squirrelmail/attach /usr/lib/squirrelmail/data + dpkg-statoverride --add alternc-squirrelmail root 0750 /var/spool/squirrelmail/attach + dpkg-statoverride --add alternc-squirrelmail root 0750 /usr/lib/squirrelmail/data chown -R alternc-squirrelmail:root /var/spool/squirrelmail/attach /usr/lib/squirrelmail/data chmod -R 750 /var/spool/squirrelmail/attach /usr/lib/squirrelmail/data ;;