Bug 1200453
| Summary: | Permission denied for user with many secondary groups | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Aleksey <a.khaustov13> |
| Component: | fuse | Assignee: | Niels de Vos <ndevos> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.6.2 | CC: | a.khaustov13, bugs, gluster-bugs, ndevos |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-03-18 11:48:29 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Aleksey
2015-03-10 15:22:57 UTC
You should be able to get this to work by setting the server.manage-gids volume option. This moves the resolving of all the auxiliary groups to the bricks. By default, the FUSE client sends a list of the groups where the user belongs to, and the RPC protocol limits this list to approx. 93 groups. See http://review.gluster.org/7202 for a little more details. Please let me know if this helps you. Thank you very mach - now it's working. But this solution will be working only when the same user/groups exist on both machine: where block device physically mount as bricks and on the FUSE client - am i right ? Yes, using server.manage-gids requires that the servers hosting the bricks for the volume can resolve all the groups of the user by using the UID. The GlusterFS protocol passes the UID (numeric, not the name/string), to getgroups(2). I think this answers your questions about this problem, therefore I am closing this bug. Thanks, Niels. |