summaryrefslogtreecommitdiff
path: root/comms/mgetty+sendfax/INSTALL
diff options
context:
space:
mode:
authorfredb <fredb>2003-12-20 20:09:50 +0000
committerfredb <fredb>2003-12-20 20:09:50 +0000
commit1dcd9248c797d05aade27fd17ce48858faa3089c (patch)
tree4a4cc2b556215861ca054fa1600dbf3c621caea3 /comms/mgetty+sendfax/INSTALL
parent589ef95dfdd14186426119daf65aeaedd55c7951 (diff)
downloadpkgsrc-1dcd9248c797d05aade27fd17ce48858faa3089c.tar.gz
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.
Diffstat (limited to 'comms/mgetty+sendfax/INSTALL')
-rwxr-xr-xcomms/mgetty+sendfax/INSTALL9
1 files changed, 3 insertions, 6 deletions
diff --git a/comms/mgetty+sendfax/INSTALL b/comms/mgetty+sendfax/INSTALL
index c549a1bbfc1..b6fce560133 100755
--- a/comms/mgetty+sendfax/INSTALL
+++ b/comms/mgetty+sendfax/INSTALL
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: INSTALL,v 1.4 2003/08/30 20:22:50 jlam Exp $
+# $NetBSD: INSTALL,v 1.5 2003/12/20 20:09:50 fredb Exp $
case ${STAGE} in
POST-INSTALL)
@@ -15,11 +15,8 @@ POST-INSTALL)
fi
if [ ! -d /var/spool/fax/outgoing ]; then
${MKDIR} /var/spool/fax/outgoing
- ${CHMOD} 1777 /var/spool/fax/outgoing
- fi
- if [ ! -d /var/spool/fax/outgoing/locks ]; then
- ${MKDIR} /var/spool/fax/outgoing/locks
- ${CHMOD} 777 /var/spool/fax/outgoing/locks
fi
+ ${CHMOD} 755 /var/spool/fax/outgoing
+ ${CHOWN} fax /var/spool/fax/outgoing
;;
esac