Red Hat Bugzilla – Bug 853842
[FEAT] CLI to set brick's root directories' permission.
Last modified: 2015-11-03 18:04:50 EST
Description of problem:
CLI to change owner/group for root ("/") of all the bricks which are part of a volume.
# gluster volume set VOLNAME exportdir-perm <uid>:<gid>
would set owner:group as uid:gid for "/" on all bricks in the volume VOLNAME.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
The requirement for gluster CLI to set user/owner permissions on all bricks of a volume has been addressed by two volume-set commands as follows,
gluster volume set VOLNAME owner-uid uid
gluster volume set VOLNAME owner-gid gid
where uid,gid are the owner's user id and group id respectively.
The patch that does that is http://review.gluster.org/3891.
CHANGE: http://review.gluster.org/4398 (cli: fix descriptions of owner-uid and owner-gid) merged in master by Anand Avati (email@example.com)