argo-workflows icon indicating copy to clipboard operation
argo-workflows copied to clipboard

`chmod +X` equivalent flag when mounting artifacts

Open valorl opened this issue 2 years ago • 0 comments

Summary

Currently, the only way to set the file mode on a mounted artifact is to provide the octal mask as mode, with the option to make it recursive akin to chmod -R. This covers a lot of use-cases, however I'm finding myself missing a way to express chmod +X style permissions when working with artifacts:

From man chmod:

execute/search only if the file is a directory or already has execute permission for some user (X)

Finding a name for this flag may be a challenge. modeExecuteDirOnly: true?

Use Cases

I want to allow any user to read the full file tree in the artifact, so that artifact consumers can work with the data. But for security reasons, I do not want the artifact consumer to be able to execute anything (except traversing into directories).


Message from the maintainers:

Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

valorl avatar Feb 20 '23 14:02 valorl