-
Type: Bug
-
Resolution: Gone away
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: CLI Module
-
None
-
Not Needed
-
Iteration Fish, Iteration Grouper, Iteration Herring, Iteration Isopod
Problem Statement/Rationale
starting mongosh with no permissions to access config file makes mongosh exit with an error:
AssertionError: You must pass either an "anonymousId" or a "userId".
Steps to Reproduce
- Remove rw access from config file: chmod u-rw ~/.mongodb/mongosh/config
- Start mongosh: mongosh
Expected Results
mongosh starts and works
Actual Results
mongosh fails with an error
- duplicates
-
MONGOSH-1320 crashes on K8s DB pods
- Closed