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

Guard against ephemeral files disappearing during umask test

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.12, 4.0.8, 4.1.7
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.0, v3.6
    • Security 2018-12-17, Security 2018-12-31
    • 9

    Description

      jstests/noPassthrough/umask.js iterates an active MongoD directory processing stating each file, but the file could be unlinked during a given loop leading to a file-not-found exception.

      Guard this with a try block and move along.

      Attachments

        Activity

          People

            sara.golemon@mongodb.com Sara Golemon
            sara.golemon@mongodb.com Sara Golemon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: