Skip to content

Logfile with more restrictive permissions control #23

Closed
@theopolis

Description

It would be great if we could open files with more restrictive permissions: https://github.com/google/glog/blob/master/src/logging.cc#L900. Opening with o600 would be safer for daemons logging potentially sensitive WARN/ERROR details.

Something like:

FLAGS_logfile_mode = 0600;

Would be 👍

Activity

added a commit that references this issue on Aug 12, 2015

Merge pull request #26 from theopolis/feature-mode-flag

added a commit that references this issue on Sep 8, 2016

[google#23] Add logfile_mode to control logfile permissions

added 2 commits that reference this issue on Sep 2, 2019

[google#23] Add logfile_mode to control logfile permissions

Merge pull request google#26 from theopolis/feature-mode-flag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Logfile with more restrictive permissions control · Issue #23 · google/glog