Skip to content
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

credentials ownership in the UI #6

Open
andrea-manzi opened this issue Oct 3, 2018 · 1 comment
Open

credentials ownership in the UI #6

andrea-manzi opened this issue Oct 3, 2018 · 1 comment
Assignees
Labels
good first issue Good for newcomers

Comments

@andrea-manzi
Copy link

Hi Bruce
thanks a lot for the amazing work!
i just tested the docker container and i would like to know if there is a way to mount the current credentials without changing their ownership within the container. just to better explain

imagine i run as root and i have my credentials there, if i run the container as suggested

docker run -u griduser -ti --rm --name ui -v $HOME/.globus:/home/griduser/.globus quay.io/egi/ui /bin/bash

the credentials available under the griduser home will be owned by root

is there a way in docker to mount a volume and give the ownership to the user specified via -u?

thanks
Andrea

@brucellino brucellino self-assigned this Oct 3, 2018
@brucellino brucellino added the good first issue Good for newcomers label Oct 3, 2018
@brucellino
Copy link
Member

Ciao @andrea-manzi

With griduser I was primarily concerned with not running clients as root in the container. Not that it's a problem for the container, but some of the clients would complain.

The case you specify will indeed fail - I guess I should create a test case for that (thanks!)

I will check the docker documentation, but I think the only way to win that game is to run the container as root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants