Replies: 1 comment
-
probably somewhere in the mountpoints if you want to change permissions of the volume during the build process |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I have added Selenium to my Cookiecutter-Django made Docker environment as follows:
selenium: image: selenium/standalone-chrome-debug:3.141.59-20210105 volumes: - .:/app - /app/sel_downloads:/home/seluser/Downloads
I am trying to use selenium to download files into the mounted volume (home/seluser/Downloads) and then access these files within django (app/sel_downloads). However, when attempting to download to this file, I get a permission denied error.
According to this solution, I need to create the directory and change it's permissions - I have tried this but still seem to be getting the same error. Does anyone know how to change the permissions of this mounted volume as part of the Cookiecutter-Django docker build process?
Many thanks for any help anyone can offer!
Beta Was this translation helpful? Give feedback.
All reactions