title: How to create a directory in root directory using python.pathlib.Path?
body: <p>How do I create a directory in root directory using <code>python.pathlib.Path</code>?</p>
  
  <pre><code>&gt;&gt;&gt; c = Path.home().parent / 'test'
  &gt;&gt;&gt; c
  PosixPath('/home/test')
  &gt;&gt;&gt; c.mkdir()
  Traceback (most recent call last):
    File "&lt;pyshell#39&gt;", line 1, in &lt;module&gt;
      c.mkdir()
    File "/usr/lib/python3.6/pathlib.py", line 1248, in mkdir
      self._accessor.mkdir(self, mode)
    File "/usr/lib/python3.6/pathlib.py", line 387, in wrapped
      return strfunc(str(pathobj), *args)
  PermissionError: [Errno 13] Permission denied: '/home/test'
  </code></pre>