Created attachment 688761 [details] Brick , Rebalance and Mount Logs are attached Description of problem:After creating some link files with non root user on the mount point and running rebalance , owner permissions changes for a few link files on the mount point Version-Release number of selected component (if applicable): How reproducible: quite often Steps to Reproduce: 1.create a distribute volume with 2 bricks 2.add another user (ABC)on the client machine and create 100 files and link files to them for i in {1..100}; do dd if=/dev/urandom of=$i bs=1024 count=1; done for i in {1..100}; do ln -sf $i link$i; done 3.Check the owner permissions of the file on the mount point lrwxrwxrwx 1 ABC ABC 1 Jan 28 2013 link1 -> 1 lrwxrwxrwx 1 ABC ABC 2 Jan 28 2013 link10 -> 10 lrwxrwxrwx 1 ABC ABC 3 Mar 13 18:00 link100 -> 100 lrwxrwxrwx 1 ABC ABC 2 Jan 28 2013 link11 -> 11 lrwxrwxrwx 1 ABC ABC 2 Mar 13 18:00 link12 -> 12 lrwxrwxrwx 1 ABC ABC 2 Jan 28 2013 link13 -> 13 lrwxrwxrwx 1 ABC ABC 2 Mar 13 18:00 link14 -> 14 lrwxrwxrwx 1 ABC ABC 2 Jan 28 2013 link15 -> 15 4. Add another brick and initiate rebalance 5. After rebalance is complete , check the owner permissions of the files on the mount point. Actual results: Few link files have changed the owner permission to root : lrwxrwxrwx 1 ABC ABC 1 Jan 28 2013 link1 -> 1 lrwxrwxrwx 1 ABC ABC 2 Jan 28 2013 link10 -> 10 lrwxrwxrwx 1 ABC ABC 3 Mar 13 18:00 link100 -> 100 lrwxrwxrwx 1 ABC ABC 2 Jan 28 2013 link11 -> 11 lrwxrwxrwx 1 ABC ABC 2 Mar 13 18:00 link12 -> 12 lrwxrwxrwx 1 root root 2 Jan 28 2013 link13 lrwxrwxrwx 1 ABC ABC 2 Mar 13 18:00 link14 -> 14 lrwxrwxrwx 1 ABC ABC 2 Jan 28 2013 link15 -> 15 lrwxrwxrwx 1 ABC ABC 2 Mar 13 18:00 link16 -> 16 lrwxrwxrwx 1 ABC ABC 2 Jan 28 2013 link17 -> 17 lrwxrwxrwx 1 root root 2 Jan 28 2013 link18 Expected results: The owner permissions must be retained after rebalance . Additional info: I have attached the brick logs , rebalance logs and the mount logs for your reference .
please specify which version did you get the issue?
*** This bug has been marked as a duplicate of bug 902200 ***
Hi Amar, This issue was found on version : 3.3.0.5rhs-40.el6rhs.x86_64
Re-opening the bug as I had incorrectly identified it as a duplicate of bug 902200. 902200 is fix for hardlinks, while this issue is for symlinks.
The product version of Red Hat Storage on which this issue was reported has reached End Of Life (EOL) [1], hence this bug report is being closed. If the issue is still observed on a current version of Red Hat Storage, please file a new bug report on the current version. [1] https://rhn.redhat.com/errata/RHSA-2014-0821.html