| Summary: | Rebalance : Permissions changing on root directory after rebalance process | |||
|---|---|---|---|---|
| Product: | Red Hat Gluster Storage | Reporter: | senaik | |
| Component: | distribute | Assignee: | Nithya Balachandran <nbalacha> | |
| Status: | CLOSED DEFERRED | QA Contact: | storage-qa-internal <storage-qa-internal> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 2.1 | CC: | rhs-bugs, spalai, vbellur | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1286179 1286192 (view as bug list) | Environment: | ||
| Last Closed: | 2015-11-27 12:14:04 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: | 1286179, 1286192 | |||
Description of problem: ====================== As non root user , after rebalance process , permissions are changing on root directory Version-Release number of selected component (if applicable): ============================================================ glusterfs 3.4.0.32rhs How reproducible: ================ reproduced the issue twice Steps to Reproduce: ==================== 1.Create a dist-rep volume and start it 2.Fuse mount the volume and change permissions : mount -t glusterfs 10.70.34.85:/vol4 /mnt/vol4/ chmod 777 /mnt/vol4/ Check permissions before rebalance : ------------------------------------- drwxrwxrwx. 3 root root 46 Sep 8 2013 vol4 3.Log in as non root user (ABC) and create some files for i in {1..100}; do dd if=/dev/urandom of=$i bs=1024 count=1; done 4. Add brick and start rebalance 5. After rebalance is complete , create some more files on the mount point as non root user (ABC) [ABC@RHEL6 vol4]$ for i in {101..110}; do dd if=/dev/urandom of=$i bs=1024 count=1; done dd: opening `101': Permission denied dd: opening `102': Permission denied dd: opening `103': Permission denied dd: opening `104': Permission denied dd: opening `105': Permission denied dd: opening `106': Permission denied dd: opening `107': Permission denied dd: opening `108': Permission denied dd: opening `109': Permission denied dd: opening `110': Permission denied Check permissions after rebalance : ----------------------------------- drwxr-xr-x. 3 root root 16667 Sep 8 2013 vol4 Actual results: ================ Permissions for non root user changing after rebalance Expected results: ================= Permissions should not change after rebalance process Additional info: ================ [root@boost brick1]# gluster v i vol4 Volume Name: vol4 Type: Distributed-Replicate Volume ID: a00c7c39-3bb8-438c-8f79-1de3d8458033 Status: Started Number of Bricks: 3 x 2 = 6 Transport-type: tcp Bricks: Brick1: 10.70.34.86:/rhs/brick1/d1 Brick2: 10.70.34.85:/rhs/brick1/d2 Brick3: 10.70.34.88:/rhs/brick1/d3 Brick4: 10.70.34.89:/rhs/brick1/d4 Brick5: 10.70.34.85:/rhs/brick1/d5 Brick6: 10.70.34.89:/rhs/brick1/d6