Mauricio Teixeira mauricio.teixeira@... [milter-greylist]
<milter-greylist@yahoogroups.com> wrote:
> It's possible that the database API is trying to create a temporary file on
> that directory, and the permissions are blocking it.
Indeed it does. dump.c says;
/*
* Dump the database in a temporary file and
* then replace the old one by the new one.
* On decent systems, rename(2) garantees that
* even if the machine crashes, we will not
* loose both files.
*/
mkparentdir(conf.c_dumpfile, 0755);
snprintf(newdumpfile, MAXPATHLEN,
"%s-XXXXXXXX", conf.c_dumpfile);
if ((dumpfd = mkstemp(newdumpfile)) == -1) {
mg_log(LOG_ERR, "mkstemp(\"%s\") failed: %s",
newdumpfile, strerror(errno));
close(dumpfd);
unlink(newdumpfile); /* clean up ... */
exit(EX_OSERR);
}
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...Message
Re: [milter-greylist] Milter-Greylist Dump Problem
2016-07-25 by manu@...
Attachments
- No local attachments were found for this message.