diff --git a/zip-2.31-umask_mode.patch b/zip-2.31-umask_mode.patch index 7e93419..ca78af6 100644 --- a/zip-2.31-umask_mode.patch +++ b/zip-2.31-umask_mode.patch @@ -6,7 +6,7 @@ diff -up zip-2.31/fileio.c.pom zip-2.31/fileio.c } - fd = open(path, flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); -+ fd = open(path, flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH ); ++ fd = open(path, flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); if (fd == -1) return NULL; diff --git a/zip.spec b/zip.spec index ee98038..addff43 100644 --- a/zip.spec +++ b/zip.spec @@ -1,7 +1,7 @@ Summary: A file compression and packaging utility compatible with PKZIP Name: zip Version: 2.31 -Release: 4%{?dist} +Release: 5%{?dist} License: BSD Group: Applications/Archiving Source: http://ftp.info-zip.org/pub/infozip/src/zip231.tar.gz @@ -72,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/zip.1* %changelog +* Wed Nov 14 2007 Ivana Varekova - 2.31-5 +- add S_IWOTH option + * Mon Nov 5 2007 Ivana Varekova - 2.31-4 - fix "zip does not honor umask setting when creating archives" - fix "zip segfaults by attempt to archive big file"