Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: ======================= File permission got changed after file migration in few cases. before rebalance:- [root@dht19 test]# ls -l total 0 -rwSr--r-- 1 root root 0 Nov 11 09:27 ooo After rebalance:- [root@dht19 test]# ls -l total 0 -rw-r--r-- 1 root root 0 Nov 11 09:27 ooo before rebalance:- [root@dht19 test]# ls -l total 0 -rwxr-sr-- 1 root root 0 Nov 11 09:27 ooo After rebalance:- [root@dht19 test]# ls -l total 0 -rwxr-xr-- 1 root root 0 Nov 11 09:27 ooo Version-Release number of selected component (if applicable): ============================================================= 3.6.0.29-1.el6rhs.x86_64 How reproducible: ================= always Steps to Reproduce: =================== 1. create, start and FUSE mount Distributed volume having 3 bricks. 2. created file, renamed it so hashed and cached sub-volumes are different and change permission as below case 1:- [root@dht19 test]# ls -l total 0 -rwSr--r-- 1 root root 0 Nov 11 09:27 ooo case 2:- [root@dht19 test]# ls -l total 0 -rwxr-sr-- 1 root root 0 Nov 11 09:27 ooo 3. started rebalance process for that volume. Once rebalance is completed. 4. checked file from mount point it has different permission. case 1:- [root@dht19 test]# ls -l total 0 -rw-r--r-- 1 root root 0 Nov 11 09:27 ooo case 2:- After rebalance:- [root@dht19 test]# ls -l total 0 -rwxr-xr-- 1 root root 0 Nov 11 09:27 ooo Actual results: ================ file permissions are changed after migration Expected results: ================ file permissions should remain same Document URL: Section Number and Name: Describe the issue: Suggestions for improvement: Additional information: Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Please update the fixed in version.
This bug has been verified with following build of 3.0.4 version. [root@rhsauto032 bug]# glusterfsd --version glusterfs 3.6.0.44 built on Feb 9 2015 01:27:51 Repository revision: git://git.gluster.com/glusterfs.git Copyright (c) 2006-2013 Red Hat, Inc. <http://www.redhat.com/> GlusterFS comes with ABSOLUTELY NO WARRANTY. It is licensed to you under your choice of the GNU Lesser General Public License, version 3 or any later version (LGPLv3 or later), or the GNU General Public License, version 2 (GPLv2), in all cases as published by the Free Software Foundation. [root@rhsauto032 bug]# [root@rhsauto032 bug]# rpm -qa | grep gluster gluster-nagios-common-0.1.4-1.el6rhs.noarch glusterfs-api-3.6.0.44-1.el6rhs.x86_64 glusterfs-server-3.6.0.44-1.el6rhs.x86_64 gluster-nagios-addons-0.1.14-1.el6rhs.x86_64 samba-glusterfs-3.6.509-169.4.el6rhs.x86_64 glusterfs-libs-3.6.0.44-1.el6rhs.x86_64 glusterfs-3.6.0.44-1.el6rhs.x86_64 glusterfs-cli-3.6.0.44-1.el6rhs.x86_64 glusterfs-geo-replication-3.6.0.44-1.el6rhs.x86_64 vdsm-gluster-4.14.7.3-1.el6rhs.noarch glusterfs-fuse-3.6.0.44-1.el6rhs.x86_64 glusterfs-rdma-3.6.0.44-1.el6rhs.x86_64 [root@rhsauto032 bug]# Tests carried on: Case 1: 1. Create file check the permission 2. rename the file and check the permission 3. Kick rebalance and check permission from mmount point and also check the rebalance is successful. Result: PASS Case 2: 1. Create s file, check the permission. 2. Rename the file and change the permission ex: chmod u+s tri.txt 3. kick rebalance and check the permission after the rebalance completed successfully. Result: PASS Case 3: 1. Create 1GB file, check the permission. 2. Rename the file and kick rebalance. 3. When rebalance is happening change the permission of the file ex: chmod u+s tri.txt. 4. When rebalance completed successfully, check the permission of the file. Result: PASS
Hi Nithya, Can you please update the doc text for this bug. Thanks!
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0682.html