Operational Defect Database

BugZero found this defect 2454 days ago.

MongoDB | 391552

[SERVER-29509] shell_history.js should tolerate extended file ACLs

Last update date:

10/30/2023

Affected products:

MongoDB Server

Affected releases:

3.4.4

3.5.8

Fixed releases:

3.0.16

3.2.15

3.4.6

3.5.9

Description:

Info

If jstests/noPassthrough/shell_history.js is running on a system where files can have extended ACL attributes, then the file mode output from GNU ls -l may include a trailing character to indicate the presence of alternate ACLs ('.' (dot) for SELinux or '+' (plus) for other) (reference). However shell_history.js checks for equality of the whole mode string against "-rw-------", which spuriously breaks in the presence of such a trailing character.

Top User Comments

xgen-internal-githook commented on Thu, 15 Jun 2017 02:05:59 +0000: Author: {u'username': u'devkev', u'name': u'Kevin Pulo', u'email': u'kevin.pulo@mongodb.com'} Message: SERVER-29509 tolerate extended file ACLs in shell history jstest (cherry picked from commit 6a85a4b845d2d365dc6f8a06c3c02824dc1909dc) Branch: v3.0 https://github.com/mongodb/mongo/commit/094684a2c388edf655a5830755c77508c3b7cbbb xgen-internal-githook commented on Thu, 15 Jun 2017 02:03:52 +0000: Author: {u'username': u'devkev', u'name': u'Kevin Pulo', u'email': u'kevin.pulo@mongodb.com'} Message: SERVER-29509 tolerate extended file ACLs in shell history jstest (cherry picked from commit 6a85a4b845d2d365dc6f8a06c3c02824dc1909dc) Branch: v3.2 https://github.com/mongodb/mongo/commit/4ab6ccc79febd7b3e76c792fa67efaae4060dc05 xgen-internal-githook commented on Thu, 15 Jun 2017 01:58:37 +0000: Author: {u'username': u'devkev', u'name': u'Kevin Pulo', u'email': u'kevin.pulo@mongodb.com'} Message: SERVER-29509 tolerate extended file ACLs in shell history jstest (cherry picked from commit 6a85a4b845d2d365dc6f8a06c3c02824dc1909dc) Branch: v3.4 https://github.com/mongodb/mongo/commit/2bda80db0aab45d2ffab9a9c18c4258d498fcceb xgen-internal-githook commented on Fri, 9 Jun 2017 02:56:37 +0000: Author: {u'username': u'devkev', u'name': u'Kevin Pulo', u'email': u'kevin.pulo@mongodb.com'} Message: SERVER-29509 tolerate extended file ACLs in shell history jstest Branch: master https://github.com/mongodb/mongo/commit/6a85a4b845d2d365dc6f8a06c3c02824dc1909dc

Additional Resources / Links

Share:

BugZero Risk Score

Coming soon

Status

Closed

Have you been affected by this bug?

cost-cta-background

Do you know how much operational outages are costing you?

Understand the cost to your business and how BugZero can help you reduce those costs.

Discussion

Login to read and write comments.

Have you ever...

had your data corrupted from a

VMware

bug?

Search:

...