You can check the file permissions and ownership by running the following command in your terminal:
ls -l /path/to/media/directory
This will show you the owner and group of the media directory, as well as the file permissions. If the owner and group are not set to the user running the Django application, you may need to change them using the chown command.