[Mailman-Developers] [2.1b4] /usr/local/mailman/pythonlib has wrong permissions after make install

Barry A. Warsaw barry@python.org
Mon Nov 4 23:51:57 2002


>>>>> "BG" == Ben Gertzfield <che@debian.org> writes:

    BG> Could we change the makefile and/or check_perms to ensure that
    BG> all files in mailman/pythonlib are mode 0644, and all
    BG> directories are 0755?

Here's a Makefile.in patch that should do the trick.  I'll work out a
check_perms fix next.

-Barry

-------------------- snip snip --------------------
Index: Makefile.in
===================================================================
RCS file: /cvsroot/mailman/mailman/misc/Makefile.in,v
retrieving revision 2.28
diff -u -r2.28 Makefile.in
--- Makefile.in	14 Oct 2002 22:21:09 -0000	2.28
+++ Makefile.in	4 Nov 2002 23:51:47 -0000
@@ -87,7 +87,7 @@
 	for p in $(PACKAGES); \
 	do \
 	    gunzip -c $$p.tar.gz | tar xf -; \
-	    (cd $$p ; PYTHONPATH=$(PYTHONLIBDIR) $(PYTHON) $(SETUPCMD)); \
+	    (cd $$p ; umask 022 ; PYTHONPATH=$(PYTHONLIBDIR) $(PYTHON) $(SETUPCMD)); \
 	done
 
 finish: