case ${ACTION} in post) # fix permissions and owners mkdir -p /var/spool/dma # -p avoids error if dir exists chown root:mail var/spool/dma chmod g+sw var/spool/dma chown root:mail usr/bin/dma chmod g+s usr/bin/dma # do i need to care about /var/spool/mail, too? i don't think so, but i can't test it. ;; esac