When ServerApplication starts, it clears the inherited umask.
While this is something that needs to be done in order to avoid unintended interference with permissions of the files created by the daemon itself, it has an undesirable consequence that files created by daemon (e.g. log files, pidfile etc) end up being created world-writable. This should be set to something more reasonable and secure (e.g. at least 664) for the files created by Poco.
When ServerApplication starts, it clears the inherited umask.
While this is something that needs to be done in order to avoid unintended interference with permissions of the files created by the daemon itself, it has an undesirable consequence that files created by daemon (e.g. log files, pidfile etc) end up being created world-writable. This should be set to something more reasonable and secure (e.g. at least 664) for the files created by Poco.