Package: john
Version: 1.7.2-3
Followup-For: Bug #502878

During install of john, this is output:

Setting up john (1.7.2-3) ...
mode of `/var/run/john' changed to 0700 (rwx------)

To keep things consistent, the change which I made locally to fix this is
included below.

Cheers,

Tim.



--- /u3/lenny-amd64/usr/share/john/cronjob      2008-06-02 16:51:38.000000000 
+0100
+++ /usr/share/john/cronjob     2009-03-02 09:08:43.000000000 +0000
@@ -22,6 +22,9 @@
 RESTORE=$RUNDIR/restore
 
 PASSFILE=`grep -v ^# /etc/john/john-mail.conf | grep -e "[ ]*passfile[ ]*=[ 
]*" | sed -e "s/#.*//" -e "s/.*=[ ]*//" |head -1`
+
+
+[ -d "$PIDDIR" ] || install -d "$PIDDIR" -m 700
 cd $RUNDIR
 
 # Gets the PID of the process that should be running john,



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to