Django static_root in /var/www/... - no permissions to collectstatic
<p>My STATIC_ROOT folder is specified to be <code>/var/www/app_name/static</code>, which is usually should not be accessed by non-sudo users. </p>

<p>It was created by a user with sudo rights. Now i am trying to <code>collectstatic</code> with my own user and it says <code>"Permission denied..."</code>, not surprisingly.</p>

<p>How should I properly collect static files? Under which user?</p>