Bug#502878: john: Change to patch to set mode?
Tim Small
tim at buttersideup.com
Mon Mar 2 09:12:52 UTC 2009
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,
More information about the Pkg-john-devel
mailing list