give access to media folder django code example Example: django give access to media folder chgrp -R www-data /path/to/media/ chmod -R g+w /path/to/media/