# HG changeset patch # User Glenn Morris # Date 1252463545 0 # Node ID aa07c84cb08561a2674328f8ed4dc2cbda02db79 # Parent 3fea2465f700a674301cab358da179384d5a128d ($(DESTDIR)${archlibdir}): Set umask to world-readable before creating directories and game score files. diff -r 3fea2465f700 -r aa07c84cb085 lib-src/ChangeLog --- 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 + + * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable + before creating directories and game score files. + 2009-08-19 Glenn Morris * cvtmail.c: Remove file. diff -r 3fea2465f700 -r aa07c84cb085 lib-src/Makefile.in --- 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,