SAVEDIR
snprintf(spbuf, sizeof(spbuf), "/bin/cat %ssave.*",SAVEDIR);
if (stat(SAVEDIR,&filestat)) {
printf("Cannot access %s\r\n",SAVEDIR);
printf("%s is not protected correctly (must be u+rw o+rx).\r\n",SAVEDIR);
SAVEDIR, logname);
chdir(SAVEDIR);