- add S_IWOTH option
This commit is contained in:
parent
68b5760de6
commit
f6c58de24f
@ -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;
|
||||
|
||||
|
5
zip.spec
5
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 <varekova@redhat.com> - 2.31-5
|
||||
- add S_IWOTH option
|
||||
|
||||
* Mon Nov 5 2007 Ivana Varekova <varekova@redhat.com> - 2.31-4
|
||||
- fix "zip does not honor umask setting when creating archives"
|
||||
- fix "zip segfaults by attempt to archive big file"
|
||||
|
Loading…
Reference in New Issue
Block a user