This was reported on BUGTRAQ on Jul 17 1999. Please see quoted URL for an archived copy of the original BUGTRAQ post. Patch offered in the post (I haven't tested it): (a bit broken by the web form) --- b.c.orig Fri Jan 20 00:38:25 1995 +++ b.c Sat Jul 17 01:54:09 1999 @@ -21,6 +21,7 @@ #include <pwd.h> #endif #include <errno.h> +#include <sys/types.h> #include "config.h" #include "blocks.h" @@ -1990,6 +1991,7 @@ { long tim=time(0); B *b; + mode_t mask=umask (077); /* no access to DEADJOE for others */ FILE *f=fopen("DEADJOE","a"); fprintf(f,"\n*** Modified files in JOE when it aborted on %s",ctime(&tim)); if(sig) fprintf(f,"*** JOE was aborted by signal %d\n",sig);
Fiexed in joe-2.8-21.