-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Description
I cloned this repo to a fresh folder on a vm running ubuntu 20.04 and the latest docker and docker-compose.
I ran docker-compose build then docker-compose up -d
I went to the admin page and logged in (after creating an admin user)
I created a new sample item and tried to upload an image.
I got:
PermissionError at /admin/core/sample/add/
I ran ls -la in the project directory and the data directory is owned by root.
Did I miss something? Otherwise, this tutorial is excellent.
Update:
I found that if I run sudo chown -R chris:chris data/ after the directories are created by docker-compose up, everything works after that.
I would still like to create the directories with the right permissions programmatically but this is at least workable.
Metadata
Metadata
Assignees
Labels
No labels