[SERVER-38644] Guard against ephemeral files disappearing during umask test Created: 14/Dec/18 Updated: 29/Oct/23 Resolved: 18/Dec/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.12, 4.0.8, 4.1.7 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sara Golemon | Assignee: | Sara Golemon |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v4.0, v3.6
|
||||||||
| Sprint: | Security 2018-12-17, Security 2018-12-31 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 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. |
| Comments |
| Comment by Githook User [ 22/Mar/19 ] |
|
Author: {'email': 'sara.golemon@mongodb.com', 'name': 'Sara Golemon', 'username': 'sgolemon'}Message: (cherry picked from commit bebb6e35482fd706cdfd89fe2c70a925faa47d42) |
| Comment by Githook User [ 18/Mar/19 ] |
|
Author: {'name': 'Sara Golemon', 'username': 'sgolemon', 'email': 'sara.golemon@mongodb.com'}Message: (cherry picked from commit bebb6e35482fd706cdfd89fe2c70a925faa47d42) |
| Comment by Githook User [ 18/Dec/18 ] |
|
Author: {'username': 'sgolemon', 'email': 'sara.golemon@mongodb.com', 'name': 'Sara Golemon'}Message: |