title: who creates the media folder in django and how to change permission rights?
body: <p>I set up django using nginx and gunicorn. I am looking at the permission in my project folder and I see that the permission for the media folder is set to root (all others are set to debian): </p>
  
  <p><code>-rw-r--r-- 1 root   root    55K Dec  2 13:33 media</code></p>
  
  <p>I am executing all app relevant commands like <code>makemigrations</code>, <code>migrate</code>, <code>collectstatic</code>, from debian, therefore everything else is debian.</p>
  
  <p>But the media folder doesn't exist when I start my app. I will be created once I upload stuff. </p>
  
  <p>But who creates it and how do I change the permissions to debain?  </p>