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

Specify permissions required for use of bind mounts #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

markovendelin
Copy link

See #58

When using bind mounts, ensure that the ownership and permissions on the host are set as follows:

- host folder mapped to `/opt/omero/server/OMERO.server/var`: UID/GID: 1000/997 `drwxr-xr-x`
- host folder mapped to `/OMERO`: UID/GID: 1000/0 `drwxr-xr-x`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@markovendelin, you found it necessary to use GID 0 or is that what docker created? I would have thought 997 would be permitted as well.

NB: unfortunate that the group isn't also 1000 to keep things simple...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joshmoore: Good call - that's what docker did itself. I would expect that this is not needed. Not sure how to proceed with it then.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@markovendelin : sorry for dropping the ball on this one. Since you've said that the UID should be 1000 and the permissions start with drwx, the user is going to be able to access regardless of the rest. Perhaps the text is that either UID 1000 or GID 997 should have access?

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

Successfully merging this pull request may close these issues.

None yet

2 participants