From: Glenn Morris Date: Wed, 9 Sep 2009 02:32:25 +0000 (+0000) Subject: ($(DESTDIR)${archlibdir}): Set umask to world-readable before creating X-Git-Tag: emacs-pretest-23.1.90~1448 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c5a139ca228a70d8750b6d7f3311386e100c1983;p=emacs.git ($(DESTDIR)${archlibdir}): Set umask to world-readable before creating directories and game score files. --- diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 04bc7a700fb..7970ee5aae2 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -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 --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 45ab85a92fd..0b164936c78 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in @@ -298,14 +298,14 @@ maybe-blessmail: BLESSMAIL $(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,