pkgsrc/comms/mgetty+sendfax/INSTALL
fredb 7e62289743 Don't make the outgoing fax spool directory chmod 1777. Unprivleged users
are supposed to use "faxspool" to submit faxes for sending, as explained
by Gert Doering (mgetty's author) on tech-pkg.
2003-12-20 20:09:50 +00:00

22 lines
529 B
Text
Executable file

#!/bin/sh
#
# $NetBSD: INSTALL,v 1.5 2003/12/20 20:09:50 fredb Exp $
case ${STAGE} in
POST-INSTALL)
if [ ! -d /var/spool/fax ]; then
${ECHO} "Creating fax spool directories..."
${MKDIR} /var/spool/fax
${CHMOD} 755 /var/spool/fax
fi
if [ ! -d /var/spool/fax/incoming ]; then
${MKDIR} /var/spool/fax/incoming
${CHMOD} 755 /var/spool/fax/incoming
fi
if [ ! -d /var/spool/fax/outgoing ]; then
${MKDIR} /var/spool/fax/outgoing
fi
${CHMOD} 755 /var/spool/fax/outgoing
${CHOWN} fax /var/spool/fax/outgoing
;;
esac