1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/sh case $2 in POST-INSTALL) user=pop3vscan group=mail spooldir=/var/spool/pop3vscan echo "Fixing ownerships and modes in \"${spooldir}\"." chown -R ${user}:${group} ${spooldir} chmod -R go= ${spooldir} ;; esac