title: Unable to deploy a Ceph manager daemon with ceph-deploy: Error EACCES: access denied
body: <p>I am trying to set up a Ceph storage cluster using the quick start guide found here: <a href="http://docs.ceph.com/docs/master/start/quick-ceph-deploy/" rel="nofollow noreferrer">http://docs.ceph.com/docs/master/start/quick-ceph-deploy/</a></p>
  
  <p>When I try to deploy a manager daemon using this command:</p>
  
  <pre><code>    ceph-deploy mgr create enickel7
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>    [ceph_deploy.mgr][ERROR ] OSError: [Errno 2] No such file or directory: '/var/lib/ceph/mgr/ceph-enickel7'
      [ceph_deploy][ERROR ] GenericError: Failed to create 1 MGRs
  </code></pre>
  
  <p>(enickel7 is the name of the node I'm using - the Ceph documentation calls the nodes node1, node2, and node3.) I tried to manually create the directory /var/lib/ceph/mgr, then ran the command again. Then I got this error:</p>
  
  <pre><code>    [enickel7][ERROR ] Error EACCES: access denied
      [enickel7][ERROR ] exit code from command was: 13
      [ceph_deploy.mgr][ERROR ] could not create mgr
      [ceph_deploy][ERROR ] GenericError: Failed to create 1 MGRs
  </code></pre>
  
  <p>Does anyone know what this error means, or how to fix it? ceph-deploy definitely has sudo permissions, and the mgr directory has the same permissions as other directories in /var/lib/ceph.</p>
  
  <p>Thank you for your time!</p>