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

Support all-squash mount option #5394

Open
kyungwan-nam opened this issue Dec 18, 2024 · 1 comment
Open

Support all-squash mount option #5394

kyungwan-nam opened this issue Dec 18, 2024 · 1 comment
Labels
kind/feature New feature or request

Comments

@kyungwan-nam
Copy link
Contributor

What would you like to be added:

root-squash is supported by #3562. I want to support all-squash mount option as well.
It makes any user mounted to the JuiceFS to use the uid/gid given all-squash parameter instead of their actual uid/gid.
nfs support all_squash as well as root_squash https://linux.die.net/man/5/exports

Why is this needed:

we use the JuiceFS across hadoop / k8s.
so, I want file's uid/gid to be consistent.
mapping uid/gid is possible in hadoop hadoop_java_sdk/user-permissions. but, it isn't in k8s.
I expect all-squash achieve it in k8s.

@kyungwan-nam
Copy link
Contributor Author

Pull Request: #5395
could you take a look at this?
thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant