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

Guard against ephemeral files disappearing during umask test

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.12, 4.0.8, 4.1.7
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.0, v3.6
    • Security 2018-12-17, Security 2018-12-31
    • 9

      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.

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

              Created:
              Updated:
              Resolved: