Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-36977

Initial mongod.log is created using umask vs mode 600

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.10, 4.0.5, 4.1.5
    • Affects Version/s: 3.6.6, 4.0.2
    • Component/s: Logging
    • None
    • Fully Compatible
    • ALL
    • v4.0, v3.6
    • Security 2018-10-22, Security 2018-11-05

      When mongod starts it creates the mongod.log. This initial file will be created based on the umask of the process.

      However, log rotation will default to mode 600 unless honorSystemUmask is set. This behavior seems inconsistent.

      This behavior appears to have been introduced with SERVER-22829.

            Assignee:
            jonathan.reams@mongodb.com Jonathan Reams
            Reporter:
            arnie.listhaus@mongodb.com Arnie Listhaus
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: