Description of problem: when creating an archive with zip, zip does not honor the umask. This behaviour is different from RHEL 3.8 Version-Release number of selected component (if applicable): zip-2.3-27 How reproducible: Create a new archive, check access permissions. Steps to Reproduce: 1. zip test /some/file 2. ls -l test.zip 3. -> The writing right for the group is missing. Actual results: RHEL 4: [admin@leibniz tmp]$ umask 0007 [admin@leibniz tmp]$ zip test /etc/services adding: etc/services (deflated 65%) [admin@leibniz tmp]$ ls -l test.zip -rw-r----- 1 admin admin 7163 Oct 5 15:01 test.zip Expected results: RHEL 3: [admin@hilbert tmp]$ umask 0007 [admin@hilbert tmp]$ zip test /etc/services adding: etc/services (deflated 65%) [admin@hilbert tmp]$ ls -l test.zip -rw-rw---- 1 admin admin 7134 Oct 5 15:02 test.zip Additional info:
Created attachment 138226 [details] proposed patch
*** Bug 201640 has been marked as a duplicate of this bug. ***
Putting on the proposed list.
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/RHBA-2007-1040.html