Specify permissions required for use of bind mounts#59
Open
markovendelin wants to merge 1 commit intoome:masterfrom
Open
Specify permissions required for use of bind mounts#59markovendelin wants to merge 1 commit intoome:masterfrom
markovendelin wants to merge 1 commit intoome:masterfrom
Conversation
joshmoore
reviewed
May 26, 2021
| 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` |
Member
There was a problem hiding this comment.
@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...
Author
There was a problem hiding this comment.
@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.
Member
There was a problem hiding this comment.
@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?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See #58