-
Notifications
You must be signed in to change notification settings - Fork 34
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 mount permissions on input volumes #492
Conversation
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two questions:
-
I think I am missing something. It looks to me like "*_str_params" isn't used in the run function in the old code. If so, wouldn't the fix have been to use them? Or was that variable intending to use a feature in MLCube that is broken/missing?
-
Am I correct that MLCube won't set 'ro' for the output directories, even though you've specified --mount=ro? If so, I wonder if we should request a name change on that parameter, as it's confusing to me to see "--mount" and it not apply to all mount points.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
|
This PR fixes and simplifies ensuring read-only access to input volumes on MLCube execution. This is done so by leveraging on the recent
--mount=ro
flag, instead of specifying per-volume permissionsCloses #488