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

Forbid renaming system collections

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.0.5
    • Component/s: Admin
    • None
    • Server Security
    • 0

      I am using the official C# driver v1.4.2. I noticed that I cannot remove the system collection `system.indexes` from my database (this is rather expected) but I can rename this collection (this is rather unexpected).

      > db.system.indexes.renameCollection("old_indexes")
      { "ok" : 1 }
      > show collections
      old_indexes
      

      Discussion: https://groups.google.com/forum/#!topic/mongodb-user/C0AksmnNVdY

      I've been recommended to submit the issue, so do I.

            Assignee:
            backlog-server-security [DO NOT USE] Backlog - Security Team
            Reporter:
            nightroman Roman Kuzmin
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: