diff options
author | Jonathan Reams <jbreams@mongodb.com> | 2019-05-31 16:54:29 -0400 |
---|---|---|
committer | Jonathan Reams <jbreams@mongodb.com> | 2019-07-10 12:51:44 -0400 |
commit | 92a2d82d0b8871d010477ca659e9929344d82fcd (patch) | |
tree | 0f3c57f28b75f4fc54286fa40e85ddf62c2ee73c | |
parent | 727b84641088ff5b7c6908dea7139afa2e4695d0 (diff) | |
download | mongo-92a2d82d0b8871d010477ca659e9929344d82fcd.tar.gz |
SERVER-41442 Fix second race in umask.js
(cherry picked from commit 225e512c891f7215a759ea63105012f328a0a8d8)
(cherry picked from commit 01ff5cd303b48c553600959de8f949553e3d81a7)
(cherry picked from commit 3d819854cf398a178b368aa69ef254cd57848c91)
-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}; |