--- lynx2-8-1/src/LYCookie.c.orig Mon Nov 30 22:24:26 1998 +++ lynx2-8-1/src/LYCookie.c Mon Nov 30 23:15:29 1998 @@ -1989,6 +1989,7 @@ #ifdef VMS extern BOOLEAN HadVMSInterrupt; #endif /* VMS */ + mode_t oldumask; time_t now = time(NULL); /* system specific? - RP */ /* @@ -1999,7 +2000,9 @@ return; } + oldumask=umask(077); cookie_handle = fopen(cookie_file, "w+"); + umask(oldumask); for (dl = domain_list; dl != NULL; dl = dl->next) { de = dl->object; if (de == NULL)