title: MongoDB - Root and dbOwner are not authorized to run update command
body: <p>In the end I want to work with R+MongoDB. Therefor I set up MongoDB on Linux and did the following:</p>
  
  <ul>
  <li>run mongo command on shell</li>
  <li>use admin db</li>
  <li>add root user</li>
  <li>auth as root: db.auth("root","PASSWORD")</li>
  <li><p>This are the root users permissions</p>
  
  <pre><code>{
  "_id" : "admin.root",
  "user" : "root",
  "db" : "admin",
  "roles" : [
      {
          "role" : "dbOwner",
          "db" : "admin"
      },
      {
          "role" : "readWrite",
          "db" : "admin"
      },
      {
          "role" : "root",
          "db" : "admin"
      }
  ]}
  </code></pre></li>
  </ul>
  
  <p>Run commands in order to make authentification between R und Mongo work</p>
  
  
  
  <pre><code>&gt; var schema = db.system.version.findOne({"_id" : "authSchema"})
  &gt; schema.currentVersion = 3
  3
  &gt; db.system.version.save(schema)
  </code></pre>
  
  <p>Get the following result</p>
  
  <pre><code>WriteResult({
  "writeError" : {
      "code" : 13,
      "errmsg" : "not authorized on admin to execute command { update: \"system.version\", updates: [ { q: { _id: \"authSchema\" }, u: { _id: \"authSchema\", currentVersion: 3 }, multi: false, upsert: true } ], ordered: true }"
  }})
  </code></pre>
  
  <p>Root and dbOwner is not allowed to execute updates? What am I missing? o.0</p>