Guard against ephemeral files disappearing during umask test

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
            Reporter:
            Sara Golemon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: