Bug 948605

Summary: [RFE] From satellite webUI, Config file diff functionality is not working for files which are not world readable.
Product: [Community] Spacewalk Reporter: Stephen Herr <sherr>
Component: ClientsAssignee: Stephen Herr <sherr>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.9CC: cperry, nerawat, tkasparek, xdmoon
Target Milestone: ---Keywords: FutureFeature, Reopened, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rhncfg-5.10.44-1 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 916055 Environment:
Last Closed: 2013-08-02 13:03:28 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:
Embargoed:
Bug Depends On: 916055    
Bug Blocks: 924207, 991452    

Description Stephen Herr 2013-04-04 19:15:12 UTC
+++ This bug was initially created as a clone of Bug #916055 +++

1. Proposed title of this feature request
From satellite webUI, diff functionality is not working for files which are not world readable.  


3. What is the nature and description of the request?
Currently from satellite webUI, diff functionality is not working for files which are not world readable. Always display message  "Differences exist in a file that is not readable by all. Re-deployment of configuration file is recommended."

4. Why does the customer need this? (List the business requirements here)
Customer has build their config management around it. if only world readable files can be managed bu GUI then login to each system to check the diff is not possible for him ( As we have this option available from cmd line).

Customer want to manage it centrally from GUI.

5. How would the customer like to achieve this? (List the functional
requirements here)
Right now we have display_diff option from cmd line. We can forcefully see diff by setting this parameter.
Same way customer wants this functinality from GUI so that he will be able to check diff for files which are not world readable. 

6. For each functional requirement listed in question 5, specify how Red Hat
and the customer can test to confirm the requirement is successfully
implemented.
Customer is already build their config management for this. He is ready to check in their env.

--- Additional comment from Neha on 2013-02-27 09:08:21 EST ---

Created attachment 703445 [details]
Proposed patch

Comment 1 Stephen Herr 2013-04-04 19:35:29 UTC
Committed to Spacewalk master: bb9497cc461688cd99b9c6a2554f9fc3d25afa9e

Comment 2 Tomáš Kašpárek 2013-08-02 13:03:28 UTC
Fix for this bug is present in Spacewalk 2.0, closing this bug as CURRENTRELEASE.