Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 230558

Summary: unzip-5.51-8 leaves files as read-only (400)
Product: Red Hat Enterprise Linux 4 Reporter: Donald Desjardin <donald.desjardin>
Component: unzipAssignee: Ivana Varekova <varekova>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.5CC: andriusb, dwa, jneedham, kmurray, rvokal
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: RHSA-2007-0203 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-01 17:06:07 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: 217115    

Description Donald Desjardin 2007-03-01 15:16:34 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; Hotbar 4.1.8.0; SV1; .NET CLR 2.0.50727)

Description of problem:
Using unzip to unzip an archive, leaves the files as owner-read-only (400), the directories were OK.

Also a problem in x86_64.


Version-Release number of selected component (if applicable):
unzip-5.51-8.EL4.5

How reproducible:
Always


Steps to Reproduce:
1. unzip FILE.zip
2.
3.

Actual Results:
ls -l
-r--------  1 vobadm ftlinux        12 Aug  7  2005 media.inf
drwxrwxr-x  2 vobadm ftlinux      4096 Aug  7  2005 setup
-r--------  1 vobadm ftlinux 115428425 Aug  7  2005 setup.jar


Expected Results:
ls -l
-rw-rw-r--  1 vobadm ftlinux        12 Aug  7  2005 media.inf
drwxrwxr-x  2 vobadm ftlinux      4096 Aug  7  2005 setup
-rw-rw-r--  1 vobadm ftlinux 115428425 Aug  7  2005 setup.jar


Additional info:
I replaced the unzip package with the previous package from RHEL4-U4 (unzip-5.51-7) and everything works fine.

The problem is that some packages may have already used unzip during the installation process, so we might have some permmission problems yet unfound.

Comment 1 Andrius Benokraitis 2007-03-01 20:56:24 UTC

*** This bug has been marked as a duplicate of 230559 ***

Comment 2 Andrius Benokraitis 2007-03-01 20:58:51 UTC
*** Bug 230559 has been marked as a duplicate of this bug. ***

Comment 7 Andrius Benokraitis 2007-03-23 15:52:13 UTC
Note to Stratus: Red Hat has identified the problem and has a patch. Stay tuned
for when and which build to test...

Comment 12 Red Hat Bugzilla 2007-05-01 17:06:07 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2007-0203.html


Comment 13 Ivana Varekova 2007-11-02 13:02:48 UTC
*** Bug 244938 has been marked as a duplicate of this bug. ***