title: Permission denied to read file owned by user
body: <p>I'm trying to <em>restart</em> (it is running) MongoDB on Ubuntu 14.04 but keep getting failures with this line in the log <code>error getting file /srv/mongodb/keyfile: Permission denied</code> </p>
  
  <p>Here's directory structure</p>
  
  <pre><code>drwxr-xr-x  3 root    root     4096 Jan 31 05:54 srv/
  drw-------  2 mongodb mongodb  4096 Jan 31 07:07 mongodb/
  -rw-------  1 mongodb mongodb  876  Jan 31 07:07 keyfile
  </code></pre>
  
  <p>The user running <code>mongod</code> is "mongodb", group "mongodb" so it should be available for reading.</p>
  
  <p>If I change permissions on <code>mongodb/</code> and <code>keyfile</code> to <code>-rw-r--r--</code> it becomes readable, but mongo claims it's too permissive of course</p>
  
  <p>Going cookoo with this thing already. Any suggestion what's wrong here?</p>