00-CVE-2009-4029.patch revision 127
127N/A--- a/Makefile.in Sun Oct 15 10:25:23 2006
127N/A+++ b/Makefile.in Thu Dec 10 07:59:14 2009
127N/A@@ -429,7 +429,8 @@
127N/A || exit 1; \
127N/A fi; \
127N/A done
127N/A- -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
127N/A+ -find "$(distdir)" -type d ! -perm -755 \
127N/A+ -exec chmod u+rwx,go+rx {} \; -o \
127N/A ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
127N/A ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
127N/A ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
127N/A--- a/lib/am/distdir.am Sun Oct 15 09:41:08 2006
127N/A+++ b/lib/am/distdir.am Thu Dec 10 08:00:54 2009
127N/A@@ -196,11 +196,7 @@
127N/A endif %?DIST-TARGETS%
127N/A ##
127N/A ## This complex find command will try to avoid changing the modes of
127N/A-## links into the source tree, in case they're hard-linked. It will
127N/A-## also make directories writable by everybody, because some
127N/A-## brain-dead tar implementations change ownership and permissions of
127N/A-## a directory before extracting the files, thus becoming unable to
127N/A-## extract them.
127N/A+## links into the source tree, in case they're hard-linked.
127N/A ##
127N/A ## Ignore return result from chmod, because it might give an error
127N/A ## if we chmod a symlink.
127N/A@@ -213,7 +209,8 @@
127N/A ## the file in place in the source tree.
127N/A ##
127N/A if %?TOPDIR_P%
127N/A- -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
127N/A+ -find "$(distdir)" -type d ! -perm -755 \
127N/A+ -exec chmod u+rwx,go+rx {} \; -o \
127N/A ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
127N/A ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
127N/A ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \