changeset 104883:aa07c84cb085

($(DESTDIR)${archlibdir}): Set umask to world-readable before creating directories and game score files.
author Glenn Morris <rgm@gnu.org>
date Wed, 09 Sep 2009 02:32:25 +0000
parents 3fea2465f700
children 8f9d6010a478
files lib-src/ChangeLog lib-src/Makefile.in
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/ChangeLog	Wed Sep 09 01:21:10 2009 +0000
+++ b/lib-src/ChangeLog	Wed Sep 09 02:32:25 2009 +0000
@@ -1,3 +1,8 @@
+2009-09-09  Glenn Morris  <rgm@gnu.org>
+
+	* Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
+	before creating directories and game score files.
+
 2009-08-19  Glenn Morris  <rgm@gnu.org>
 
 	* cvtmail.c: Remove file.
--- a/lib-src/Makefile.in	Wed Sep 09 01:21:10 2009 +0000
+++ b/lib-src/Makefile.in	Wed Sep 09 02:32:25 2009 +0000
@@ -298,14 +298,14 @@
 $(DESTDIR)${archlibdir}: all
 	@echo
 	@echo "Installing utilities run internally by Emacs."
-	$(top_srcdir)/mkinstalldirs $(DESTDIR)${archlibdir}
+	umask 022; $(top_srcdir)/mkinstalldirs $(DESTDIR)${archlibdir}
 	if [ `(cd $(DESTDIR)${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \
 	  for file in ${UTILITIES}; do \
 	    $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file $(DESTDIR)${archlibdir}/$$file ; \
 	  done ; \
         fi
-	$(top_srcdir)/mkinstalldirs $(DESTDIR)${gamedir}
-	touch $(DESTDIR)${gamedir}/snake-scores
+	umask 022; $(top_srcdir)/mkinstalldirs $(DESTDIR)${gamedir}; \
+	touch $(DESTDIR)${gamedir}/snake-scores; \
 	touch $(DESTDIR)${gamedir}/tetris-scores
 /* If the following commands fail, that is not a big deal.
    update-game-score will detect at runtime that it is not setuid,