Skip to content
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

chmod +X equivalent flag when mounting artifacts #10556

Open
valorl opened this issue Feb 20, 2023 · 0 comments
Open

chmod +X equivalent flag when mounting artifacts #10556

valorl opened this issue Feb 20, 2023 · 0 comments
Labels
area/artifacts S3/GCP/OSS/Git/HDFS etc type/feature Feature request

Comments

@valorl
Copy link
Contributor

valorl commented Feb 20, 2023

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 valorl added the type/feature Feature request label Feb 20, 2023
@valorl valorl changed the title chmod +X" equivalent flag when mounting artifacts "chmod +X" equivalent flag when mounting artifacts Mar 18, 2023
@agilgur5 agilgur5 added the area/artifacts S3/GCP/OSS/Git/HDFS etc label Oct 15, 2024
@agilgur5 agilgur5 changed the title "chmod +X" equivalent flag when mounting artifacts chmod +x equivalent flag when mounting artifacts Oct 16, 2024
@agilgur5 agilgur5 changed the title chmod +x equivalent flag when mounting artifacts chmod +X equivalent flag when mounting artifacts Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/artifacts S3/GCP/OSS/Git/HDFS etc type/feature Feature request
Projects
None yet
Development

No branches or pull requests

2 participants