Bug 853842 - [FEAT] CLI to set brick's root directories' permission.
Summary: [FEAT] CLI to set brick's root directories' permission.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: krishnan parthasarathi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-03 06:17 UTC by krishnan parthasarathi
Modified: 2015-11-03 23:04 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:11:05 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description krishnan parthasarathi 2012-09-03 06:17:26 UTC
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):


How reproducible:
N/A

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 krishnan parthasarathi 2012-10-01 17:04:43 UTC
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.

Comment 2 Vijay Bellur 2013-01-21 18:07:25 UTC
CHANGE: http://review.gluster.org/4398 (cli: fix descriptions of owner-uid and owner-gid) merged in master by Anand Avati (avati)


Note You need to log in before you can comment on or make changes to this bug.