Created attachment 1580839 [details]
Patch to process.c for UID/GID restoration
Description of problem:
(Same as Fedora Bug https://bugzilla.redhat.com/show_bug.cgi?id=1139053)
Files extracted with unzip are owned by root:root even when -X is specified.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a zip file archiving one or more files not owned by root:root.
(Zip version 3.0) linux# zip /tmp/test.zip /home/*/.cshrc
2. mkdir /tmp/testing; cd /tmp/testing; unzip -X /tmp/test.zip
3. ls -l home/*/*
All extracted files are owned by root:root.
Extracted files should have correct owner and group IDs.
The code for -X depends on preprocessor definitions that are never defined.
This bug has been patched in Debian, and fc19+.
Created attachment 1580840 [details]
Spec file updates to apply patch and enable IZ_HAVE_UXUIDGID