From 9f88a9c058fd9e1d34d68e6729f3d6105e291c41 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 6 Aug 2021 09:46:39 +0300 Subject: [PATCH] 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) --- Makefile.in | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2