adding postinst for squirrelmail + user alternc-squirrelmail + statoverride for /var/lib/squirrelmail and /var/spool/squirrelmail
This commit is contained in:
parent
5df2cb4e98
commit
c03fa7f543
|
@ -12,7 +12,7 @@ case "$1" in
|
|||
|
||||
# add alternc-squirrelmail user for php-itk special rights
|
||||
if ! getent passwd alternc-squirrelmail; then
|
||||
useradd -g alternc-squirrelmail -u 1997 alternc-squirrelmail -d /usr/share/squirrelmail -m
|
||||
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
|
||||
chown -R alternc-squirrelmail:root /var/spool/squirrelmail/attach /usr/lib/squirrelmail/data
|
||||
|
|
Loading…
Reference in New Issue