Index: etc/faxaddmodem.sh.in
--- etc/faxaddmodem.sh.in.orig
+++ etc/faxaddmodem.sh.in
@@ -150,6 +150,7 @@ PROTOGID=@FAXGID@		# group who's gid we use for FAX us
 defPROTOGID=10			# use this gid if PROTOGID doesn't exist
 MODEMCONFIG=$SPOOL/config	# location of prototype modem config files
 RMCMD="$RM -f"			# forced removal
+MKFIFO=@MKFIFO@		# FIFO creation program for use below
 
 #
 # Build a list of config files in a portable way for grepping...
@@ -493,9 +494,9 @@ defaultInternationalPrefix=\"\"
 defaultDialStringRules=\"\"
 defaultServerTracing=1
 defaultSessionTracing=0xFFF
-defaultRecvFileMode=0600
+defaultRecvFileMode=0640
 defaultLogFileMode=0600
-defaultDeviceMode=0600
+defaultDeviceMode=0660
 defaultRingsBeforeAnswer=0
 defaultSpeakerVolume=quiet
 defaultGettyArgs=\"\"
@@ -1873,7 +1874,7 @@ fi
 FIFO=$SPOOL/FIFO.$DEVID
 test -p $FIFO || {
     prompt "Creating fifo $FIFO for faxgetty..."
-    if (mkfifo $FIFO) >/dev/null 2>&1; then
+    if ($MKFIFO $FIFO) >/dev/null 2>&1; then
 	echo "done."
     elif (mknod $FIFO p) >/dev/null 2>&1; then
 	echo "done."
