1
Description: umask (026) for logs, config, storage.
2
They all contain private information.
3
Upstream applied it, but then reverted, because some users reports failures in
4
their (not secure) installation.
5
Author: Alexander GQ Gerasiov <gq@debian.org>
7
Index: netams/src/main.c
8
===================================================================
9
--- netams.orig/src/main.c 2009-11-23 14:25:23.000000000 +0300
10
+++ netams/src/main.c 2009-11-23 15:05:50.000000000 +0300
14
// umask(026) for logs, config, storage
15
- // umask(S_IWGRP | S_IROTH | S_IWOTH );
16
+ umask(S_IWGRP | S_IROTH | S_IWOTH );
18
// We should close all available file descriptors except LOGFILE and syslog's fd.
19
// daemon(...) closes only stdin, stdout, stderr, but there may be others.