- add S_IWOTH option

This commit is contained in:
Ivana Varekova 2007-11-14 11:30:00 +00:00
parent 68b5760de6
commit f6c58de24f
2 changed files with 5 additions and 2 deletions

View File

@ -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_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) if (fd == -1)
return NULL; return NULL;

View File

@ -1,7 +1,7 @@
Summary: A file compression and packaging utility compatible with PKZIP Summary: A file compression and packaging utility compatible with PKZIP
Name: zip Name: zip
Version: 2.31 Version: 2.31
Release: 4%{?dist} Release: 5%{?dist}
License: BSD License: BSD
Group: Applications/Archiving Group: Applications/Archiving
Source: http://ftp.info-zip.org/pub/infozip/src/zip231.tar.gz 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* %{_mandir}/man1/zip.1*
%changelog %changelog
* Wed Nov 14 2007 Ivana Varekova <varekova@redhat.com> - 2.31-5
- add S_IWOTH option
* Mon Nov 5 2007 Ivana Varekova <varekova@redhat.com> - 2.31-4 * Mon Nov 5 2007 Ivana Varekova <varekova@redhat.com> - 2.31-4
- fix "zip does not honor umask setting when creating archives" - fix "zip does not honor umask setting when creating archives"
- fix "zip segfaults by attempt to archive big file" - fix "zip segfaults by attempt to archive big file"