[SERVER-36977] Initial mongod.log is created using umask vs mode 600 Created: 04/Sep/18 Updated: 29/Oct/23 Resolved: 26/Oct/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Logging |
| Affects Version/s: | 3.6.6, 4.0.2 |
| Fix Version/s: | 3.6.10, 4.0.5, 4.1.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Arnie Listhaus | Assignee: | Jonathan Reams |
| 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-10-22, Security 2018-11-05 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||||||
| Description |
|
When mongod starts it creates the mongod.log. This initial file will be created based on the umask of the process. However, log rotation will default to mode 600 unless honorSystemUmask is set. This behavior seems inconsistent. This behavior appears to have been introduced with |
| Comments |
| Comment by Githook User [ 04/Dec/18 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Githook User [ 30/Nov/18 ] |
|
Author: {'name': 'Jonathan Reams', 'email': 'jbreams@mongodb.com', 'username': 'jbreams'}Message: (cherry picked from commit a15cf62de1d5de973160ec1a23609aaf6f0f500f) |
| Comment by Githook User [ 14/Nov/18 ] |
|
Author: {'name': 'Jonathan Reams', 'email': 'jbreams@mongodb.com', 'username': 'jbreams'}Message: (cherry picked from commit a15cf62de1d5de973160ec1a23609aaf6f0f500f) |
| Comment by Githook User [ 26/Oct/18 ] |
|
Author: {'name': 'Jonathan Reams', 'email': 'jbreams@mongodb.com', 'username': 'jbreams'}Message: |