You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
I am trying to run nginx/uwsgi/django in a docker container. If I
mount the dir with my django project in the container when I create
the container it works fine. But I want to make the image
self-contained and not dependent on the local file system. So I
changed the Dockerfile to copy the dir containing the django project
from the host machine into the image. But then, when I create the
container (without mounting the dir) I get permission denied on all
accesses to that dir (e.g. the socket, the static files, ...).
Everything is world readable and executable. Anyone have any clues as
to what could be causing this?
Josh Crompton
unread,
Jul 5, 2016, 11:14:10 PM7/5/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Rather than making everything world-readable, I usually create a user
and chown all the directories to that user.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
I ended up fixed it. Turned out one of the dirs in the path was not
readable. That is, the django app was in /foo/bar/baz and although
/foo and /foo/bar/baz were readable, /foo/bar was not. Once I chmod-ed
that all was well.