Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-9746

Comment on: "manual/reference/privilege-actions.txt"

    XMLWordPrintableJSON

Details

    • 0.5

    Description

      `convertToCapped` is required for creating NEW capped collections

      > db.runCommand(

      { create: "collection", capped: true, size: 64 * 1024 }

      )
      {
      "ok" : 0,
      "errmsg" : "not authorized on mydb to execute command

      { create: \"collection\", capped: true, size: 65536.0 }

      ",
      "code" : 13,
      "codeName" : "Unauthorized"
      }

      Attachments

        Activity

          People

            ravind.kumar Ravind Kumar (Inactive)
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              45 weeks, 5 days ago