-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix cli-scripts directory permission issue on some platforms. #85
Conversation
Signed-off-by: Wade Barnes <wade.barnes@shaw.ca>
@sklump, Would you mind testing this fix to see if it resolves your issue with;
A quick test would be to run a
When prompted for a key just enter
|
Tried it and got the same error - permission denied on line 83. I had manually built the image with I had also tried the same steps on master and got the same error. |
This doesn't fix it just yet.
I suspect it may be to do with permissions. But even broadening out the Dockerfile addendum to
does not fix it. |
@sklump, Would you be able to check the permissions inside the running container for me? Start an
Once the
Open a bash shell in the container. The
List the directories and the permissions, specifically the
Collect some user info:
|
|
Thanks, @sklump. That confirms the permission issue, it's inheriting the permissions from the folder it's mounting. Two more tests:
|
openshell requires winpty, I just use the docker primitives to get shells, but output follows:
note
|
Thanks. Thanks for the feedback on |
@sklump, what are the results of the second test in #85 (comment) |
The most recent commit adds the shared volume label to the mount. @sklump, could you give this most recent change a try please. |
Sadly, same results: |
What version of Docker are you running? |
Docker version 19.03.5, build 633a0ea838 |
Signed-off-by: Wade Barnes wade.barnes@shaw.ca