Revision f2c7bb76
ID | f2c7bb76f62ac4a2c35e26b762cc3f8dde9fd5da |
Open the logfile after changing uid and set umask
Set the process' umask in daemon.DaemonContext to 0022 (default was
0).
Open the logfile after dropping privileges, so that it is created with
proper perimissions (this also ensures that log rotation will work).
Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Files
- added
- modified
- copied
- renamed
- deleted