title: makedirs gives OSError: [Errno 13] Permission denied: '/pdf_files'
body: <p>I'm trying to create a folder inside a folder, first I check if that directory exists and create it if necessary: </p>
  
  <pre><code>name = "User1"
  if not os.path.exists("/pdf_files/%s" % name):
      os.makedirs('/pdf_files/%s' % name )
  </code></pre>
  
  <p>Problem is that i'm getting an error : <code>OSError: [Errno 13] Permission denied: '/pdf_files'</code></p>
  
  <p>This folder named: <code>pdf_file</code> that I created have all permissions: <code>drwxrwxrwx</code> or <code>'777'</code></p>
  
  <p>I searched about  this and I saw some solutions but none of them solved my problem.
  Can somebody help me ?</p>