diff -Naur fetchmail-5.9.13.orig/daemon.c fetchmail-5.9.13/daemon.c --- fetchmail-5.9.13.orig/daemon.c Mon Apr 1 13:25:18 2002 +++ fetchmail-5.9.13/daemon.c Mon Jul 1 17:02:05 2002 @@ -252,8 +252,14 @@ return(PS_IOERR); } + /* if any path is relative on command line or in rcfile, opening it after + * this point fails. Also, if fetchmail reexecutes itself, opening the + * rcfile or logfile (which have been opened before this point) also can + * fail */ +#if 0 /* move to root directory, so we don't prevent filesystem unmounts */ chdir("/"); +#endif /* set our umask to something reasonable (we hope) */ #if defined(DEF_UMASK)