Closed
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 👍
Metadata
Metadata
Assignees
Labels
No labels
Activity
Merge pull request #26 from theopolis/feature-mode-flag
[google#23] Add logfile_mode to control logfile permissions
[google#23] Add logfile_mode to control logfile permissions
Merge pull request google#26 from theopolis/feature-mode-flag