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

Set share.permissions.method to none on read only shares? #323

Closed
pfaelzerchen opened this issue Dec 18, 2023 · 1 comment
Closed

Set share.permissions.method to none on read only shares? #323

pfaelzerchen opened this issue Dec 18, 2023 · 1 comment

Comments

@pfaelzerchen
Copy link

To be honest, I have some kind of special use case. So feel free to close this feature request.

I am using longhorn as storage provider and have a couple of RWX PVCs that I want to share read only via samba. longhorn mounts RWX shares with nfs 4.1 which does not support Extended Filesystem Attributes. So, the samba-operator fails on them. I wasn't able to find out, how to get the mount to nfs 4.2 so far.

Therefore, I took the generated Ressources, removed the SmbShare and deployed everything by hand. Before, I changed the config map and set permissions.method to "none". Everything works fine.

So probably this could be the default behaviour of the samba-operator or at least an option?

@phlogistonjohn
Copy link
Collaborator

Thanks for the feedback. There are known issues with running samba on top of nfs but as you discovered, the permissions handler we're using by default makes it even worse. There's already an issue on that topic so I'll close this one - but only as a duplicate of #309.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants