Bug 1044352

Summary: [RFE] Exempting a list of client IPs or the RHS servers themselves from anonymous uid and gid feature and/or from root squashing
Product: [Community] GlusterFS Reporter: Vikhyat Umrao <vumrao>
Component: rpcAssignee: Raghavendra G <rgowdapp>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: bugs, hgowtham, vbellur
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: rpc-3.4.0?
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: Exempting a list of client IPs or the RHS servers themselves from anonymous uid and gid feature and/or from root squashing Reason: Result (if any):
Story Points: ---
Clone Of:
: 1044387 (view as bug list) Environment:
Last Closed: 2018-11-19 05:20:15 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:
Bug Depends On:    
Bug Blocks: 1044387    

Description Vikhyat Umrao 2013-12-18 07:44:08 UTC
Hi,

We do not have any feature in glusterFS to exempt some client IPs or the RHS servers from anonymous uid and gid feature and/or from root squashing.
This feature already exist in NFS /etc/exports.

NFS feature in /etc/exports example:
Example:

# sample /etc/exports file
/         master(rw) trusty(rw,no_root_squash)

This exports the entire filesystem to machines master and trusty.  In addition to write access, all uid squashing is turned off  for host  trusty.

/home/joe pc001(rw,all_squash,anonuid=150,anongid=100)

This example only use anonuid=150 and anongid=100 for host pc001.

We can come up with exempt host names list in RHS server.

Comment 3 Niels de Vos 2014-11-27 14:45:19 UTC
Feature requests make most sense against the 'mainline' release, there is no ETA for an implementation and requests might get forgotten when filed against a particular version.

Comment 4 Vijay Bellur 2018-11-19 05:52:01 UTC
Migrated to github:

https://github.com/gluster/glusterfs/issues/553

Please follow the github issue for further updates on this bug.