Bug 737642

Summary: changing permission of one file disables drift silently
Product: [Other] RHQ Project Reporter: dgao
Component: Core UIAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: high    
Version: 4.0.1CC: hrupp, jsanda
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-07 19:26:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 707225    

Description dgao 2011-09-12 19:20:05 UTC
Changing the permission of one file to non-readable would cause drift to stop. This stoppage however does not make it to the user level, but instead it fails silently. 

In addition the entire drift should not stop just because the agent cannot read a single file. Instead it should just skip over that file and continue to detect drift on other readable files.

To reproduce:
- Create a file drift and point to a readable folder
- Create two files in that folder and verify that both files show up in drift history.
- Change permission of one of the file to non-readable state
- Make modification to the other file.
- Verify that no error message occurs in RHQ UI
- Verify that the modification on the second file does not show up on drift history.

Comment 1 John Sanda 2011-10-04 18:26:29 UTC
This is related to and address by the fix for bug 737647

Comment 2 Mike Foley 2011-10-04 20:33:23 UTC
verified 10/4/2011

Comment 3 Mike Foley 2012-02-07 19:26:02 UTC
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE