diff options
author | Jonathan Reams <jbreams@mongodb.com> | 2019-05-31 16:54:29 -0400 |
---|---|---|
committer | Jonathan Reams <jbreams@mongodb.com> | 2019-06-05 10:54:31 -0400 |
commit | 01ff5cd303b48c553600959de8f949553e3d81a7 (patch) | |
tree | 7bca44e8b8a59e9f1606da23f6dc72b003a8e781 | |
parent | 1f7005185f906178f4fe3a90e35885014900ad45 (diff) | |
download | mongo-01ff5cd303b48c553600959de8f949553e3d81a7.tar.gz |
SERVER-41442 Fix second race in umask.js
(cherry picked from commit 225e512c891f7215a759ea63105012f328a0a8d8)
-rw-r--r-- | jstests/noPassthrough/umask.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/jstests/noPassthrough/umask.js b/jstests/noPassthrough/umask.js index 051148de613..52a9407e54d 100644 --- a/jstests/noPassthrough/umask.js +++ b/jstests/noPassthrough/umask.js @@ -65,10 +65,9 @@ // First we start up the mongod normally, all the files except mongod.lock should have the mode // 0600 let conn = MongoRunner.runMongod(mongodOptions); - + MongoRunner.stopMongod(conn); checkMask(conn.fullOptions.dbpath, defaultUmask, false); - MongoRunner.stopMongod(conn); // Restart the mongod with honorSystemUmask, all files should have the mode 0666 mongodOptions.setParameter = {honorSystemUmask: true}; |