Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-4972

mongorestore on server with --auth allows restore without credentials of colls with no index

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.0.2
    • Component/s: Tools
    • Minor Change
    • ALL

      2 different cases:

      No index:

      • dump collection with no index
      • start server with auth
      • mongorestore with no arguments
      • collection exists

      If the collection has an index, I get the following error (which should be improved):
      assertion: 13106 nextSafe():

      { $err: "unauthorized db:test lock type:-1 client:127.0.0.1", code: 10057 }

            Assignee:
            siddharth.singh@10gen.com siddharth.singh@10gen.com
            Reporter:
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: