diff options
| author | Glenn Morris | 2009-09-09 02:32:25 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-09-09 02:32:25 +0000 |
| commit | c5a139ca228a70d8750b6d7f3311386e100c1983 (patch) | |
| tree | 73f21ee82b30fa65311e8bef01acd6f796e6e4d2 /lib-src | |
| parent | 7dfac189f80c0fcdd164a741c6402cb7506eb48b (diff) | |
| download | emacs-c5a139ca228a70d8750b6d7f3311386e100c1983.tar.gz emacs-c5a139ca228a70d8750b6d7f3311386e100c1983.zip | |
($(DESTDIR)${archlibdir}): Set umask to world-readable before creating
directories and game score files.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 5 | ||||
| -rw-r--r-- | lib-src/Makefile.in | 6 |
2 files changed, 8 insertions, 3 deletions
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 @@ | |||
| 1 | 2009-09-09 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable | ||
| 4 | before creating directories and game score files. | ||
| 5 | |||
| 1 | 2009-08-19 Glenn Morris <rgm@gnu.org> | 6 | 2009-08-19 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * cvtmail.c: Remove file. | 8 | * 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 | |||
| 298 | $(DESTDIR)${archlibdir}: all | 298 | $(DESTDIR)${archlibdir}: all |
| 299 | @echo | 299 | @echo |
| 300 | @echo "Installing utilities run internally by Emacs." | 300 | @echo "Installing utilities run internally by Emacs." |
| 301 | $(top_srcdir)/mkinstalldirs $(DESTDIR)${archlibdir} | 301 | umask 022; $(top_srcdir)/mkinstalldirs $(DESTDIR)${archlibdir} |
| 302 | if [ `(cd $(DESTDIR)${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \ | 302 | if [ `(cd $(DESTDIR)${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \ |
| 303 | for file in ${UTILITIES}; do \ | 303 | for file in ${UTILITIES}; do \ |
| 304 | $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file $(DESTDIR)${archlibdir}/$$file ; \ | 304 | $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file $(DESTDIR)${archlibdir}/$$file ; \ |
| 305 | done ; \ | 305 | done ; \ |
| 306 | fi | 306 | fi |
| 307 | $(top_srcdir)/mkinstalldirs $(DESTDIR)${gamedir} | 307 | umask 022; $(top_srcdir)/mkinstalldirs $(DESTDIR)${gamedir}; \ |
| 308 | touch $(DESTDIR)${gamedir}/snake-scores | 308 | touch $(DESTDIR)${gamedir}/snake-scores; \ |
| 309 | touch $(DESTDIR)${gamedir}/tetris-scores | 309 | touch $(DESTDIR)${gamedir}/tetris-scores |
| 310 | /* If the following commands fail, that is not a big deal. | 310 | /* If the following commands fail, that is not a big deal. |
| 311 | update-game-score will detect at runtime that it is not setuid, | 311 | update-game-score will detect at runtime that it is not setuid, |