Details
Description
An error message about untrusted directory is misleading. It says state directory, and then points to workdir.
#ifndef __MINGW32__ if (statbuf.st_mode & 022) { Log(LOG_LEVEL_ERR, "UNTRUSTED: State directory %s (mode %jo) was not private!", workdir, (uintmax_t)(statbuf.st_mode & 0777)); }
Should it say "UNTRUSTED: Working directory" or should "statedir" be passed instead of "workdir"?