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

Correct handling of supplementary groups in ceph-fuse (Bug 12617) #5528

Merged
merged 3 commits into from
Aug 12, 2015

Conversation

Be-El
Copy link
Contributor

@Be-El Be-El commented Aug 10, 2015

The PR fixes Bug 12617 by using the getgrouplist function to retrieve a list of all supplementary groups.

The function should be compatible with PAM (works in a sssd based setup for the submitter) and shoud be reentrant. The also used function getpwuid might needs to be replaced with getpwuid_r if necessary.

The PR might be merged with #5480, which skipped permission checks if already done in the kernel itself.

@ukernel ukernel added bug-fix cephfs Ceph File System labels Aug 11, 2015
ukernel added a commit that referenced this pull request Aug 12, 2015
Correct handling of supplementary groups in ceph-fuse (Bug 12617)
@ukernel ukernel merged commit 606e858 into ceph:master Aug 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix cephfs Ceph File System
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants