Bug 1339765 - Permission denied errors in the brick logs
Summary: Permission denied errors in the brick logs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: replicate
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHGS 3.4.0
Assignee: Ravishankar N
QA Contact: Vijay Avuthu
URL:
Whiteboard:
: 1331164 (view as bug list)
Depends On:
Blocks: 1468983 1408949 RHGS-3.4-GSS-proposed-tracker 1503134
TreeView+ depends on / blocked
 
Reported: 2016-05-25 19:40 UTC by Raghavendra Bhat
Modified: 2018-09-10 12:15 UTC (History)
15 users (show)

Fixed In Version: glusterfs-3.12.2-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-04 06:29:40 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:2607 None None None 2018-09-04 06:31:22 UTC

Comment 24 Atin Mukherjee 2016-10-21 04:27:13 UTC
downstream patch is merged now.

Comment 47 Ravishankar N 2018-02-14 09:01:23 UTC
*** Bug 1331164 has been marked as a duplicate of this bug. ***

Comment 53 Vijay Avuthu 2018-04-13 10:47:07 UTC
Update:
========

Build Used: glusterfs-server-3.12.2-7.el7rhgs.x86_64

Verified below scenario's

Scenario 1: 

1. Create 1x2 volume and disable shd.
2. Create a FILE and chown it to user-1
3. Kill one brick.
4. As user-1 (non root), do chmod on FILE so that there is pending metadata heal.
5. Bring the down brick up.
6. As another user-2, access the same FILE
7. healing should be successful


Scenario 2:

1. Create 2 * 3 volume and disable shd
2. create 500 files 
3. chown for 1st 250 files to "qa_func"
4. chown for last 250 files to "qa_perf"
5. kill one of the brick
6. As "qa_func" user, change permissions for the 1st 250 files
7. As "qa_perf" user, change permissions for the last 250 files
8. Bring up the down brick
9. Do a lookup from 3rd user ( "qa_all" ) on all the files
10. Healing should be successful

In Both Scenarios, healing is success after lookup happened ( from another user )

Changing status to Verified

Comment 56 errata-xmlrpc 2018-09-04 06:29:40 UTC
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://access.redhat.com/errata/RHSA-2018:2607


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