diff test.bash @ 43:acbe44bbba22

seems to drop root privs ok now
author carl
date Mon, 05 Jul 2004 22:24:22 -0700
parents ccf2c2651c1d
children 510a511ad554
line wrap: on
line diff
--- a/test.bash	Mon Jul 05 13:09:44 2004 -0700
+++ b/test.bash	Mon Jul 05 22:24:22 2004 -0700
@@ -40,9 +40,9 @@
 pid=/var/run/dnsbl.pid
 echo start the milter
 mkdir -p /var/run/dnsbl
-chmod 700 /var/run/dnsbl
+chmod 750 /var/run/dnsbl
+chown dnsbl:dnsbl /var/run/dnsbl
 mv -f $pid $pid.save
-rm -f /var/run/dnsbl/dnsbl.sock
 ./dnsbl -d -p local:/var/run/dnsbl/dnsbl.sock
 sleep 5
 P2=`cat $pid`