--- Spectre2/Daemon.cpp 2005/03/27 09:56:29 432 +++ Spectre2/Daemon.cpp 2005/04/07 22:56:53 439 @@ -83,7 +83,7 @@ void Daemon::load() CheckError(::smbc_init(authenticate, Spectre2::debug ? 2 : 0)); #ifdef __FreeBSD__ - SecretFileWriter out(secret); + api::FileWriter out(secret, O_WRONLY | O_CREAT | O_TRUNC, 0600); ios::FormatWriter fout(out); #endif