Skip to content

Specify permissions required for use of bind mounts#59

Open
markovendelin wants to merge 1 commit intoome:masterfrom
markovendelin:bmounts
Open

Specify permissions required for use of bind mounts#59
markovendelin wants to merge 1 commit intoome:masterfrom
markovendelin:bmounts

Conversation

@markovendelin
Copy link
Copy Markdown

See #58

Comment thread README.md
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

2 participants