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

Initial mongod.log is created using umask vs mode 600

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.6.6, 4.0.2
    • 3.6.10, 4.0.5, 4.1.5
    • Logging
    • None
    • Fully Compatible
    • ALL
    • v4.0, v3.6
    • Security 2018-10-22, Security 2018-11-05

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: