argo-workflows
argo-workflows copied to clipboard
`chmod +X` equivalent flag when mounting artifacts
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 👍.