Skip to content

World-write permissions on files created by daemon #1114

@aleks-f

Description

@aleks-f

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions