Bug 1171179

Summary: log-collector tar files change "." permissions when extracted
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: ovirt-engine-log-collectorAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED ERRATA QA Contact: Petr Kubica <pkubica>
Severity: high Docs Contact:
Priority: high    
Version: 3.5.0CC: alonbl, bazulay, dornelas, ecohen, gklein, grafuls, lbopf, lpeer, lsurette, mkalinin, oourfali, pkubica, rbalakri, Rhev-m-bugs, rhodain, sbonazzo, scohen, stirabos, yeylon, ylavi
Target Milestone: ---Keywords: Reopened, ZStream
Target Release: 3.5.3Flags: ylavi: Triaged+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, the Log Collector tool created its archive in the base folder, which meant that it also archived the permissions of the current working directory ('.'). Consequently, extracting the Log Collector archive changed the permissions of the directory in which the archive was extracted, resulting in unintended side effects on the system. Now, the structure has been changed to introduce a top level directory, and users can extract the archive without altering the directory permissions. Because extracting the archive now creates a directory with all files under it, users can, for example, extract two different Log Collector archives in the same directory, without those archives overlapping.
Story Points: ---
Clone Of: 1168660 Environment:
Last Closed: 2015-06-15 13:18:05 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: 1168660    
Bug Blocks: 1218298    

Comment 4 Simone Tiraboschi 2015-03-17 11:01:44 UTC
We just added a top level directory named as the archive name without extension, everything is under that in the same hierarchy used in the past.

The archive name is pretty unique including a time-stamp so now you can extract two archive without collision issue and without changing the permission of the directory you are extracting in.

Comment 9 errata-xmlrpc 2015-06-15 13:18:05 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://rhn.redhat.com/errata/RHBA-2015-1107.html