From: Eli Zaretskii Date: Fri, 6 Aug 2021 06:46:39 +0000 (+0300) Subject: Make sure installed *.eln files have correct permissions X-Git-Tag: emacs-28.0.90~1591^2~17 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9f88a9c058fd9e1d34d68e6729f3d6105e291c41;p=emacs.git Make sure installed *.eln files have correct permissions * Makefile.in (install-eln): Add "umask 022" to ensure the *.eln files are accessible from the user's Emacs session. Suggested by Wilhelm Kirschbaum . (Bug#49864) --- diff --git a/Makefile.in b/Makefile.in index 97d954b6ce5..235b707673f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -789,6 +789,7 @@ install-etc: ### Install native compiled Lisp files. install-eln: lisp ifeq ($(HAVE_NATIVE_COMP),yes) + umask 022 ; \ find native-lisp -type d -exec $(MKDIR_P) "$(ELN_DESTDIR){}" \; ; \ find native-lisp -type f -exec ${INSTALL_DATA} "{}" "$(ELN_DESTDIR){}" \; endif