]> git.eshelyaron.com Git - emacs.git/commitdiff
Make sure installed *.eln files have correct permissions
authorEli Zaretskii <eliz@gnu.org>
Fri, 6 Aug 2021 06:46:39 +0000 (09:46 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 6 Aug 2021 06:46:39 +0000 (09:46 +0300)
* Makefile.in (install-eln): Add "umask 022" to ensure the *.eln
files are accessible from the user's Emacs session.  Suggested by
Wilhelm Kirschbaum <wkirschbaum@gmail.com>.  (Bug#49864)

Makefile.in

index 97d954b6ce56a9fb436a29ddd8e9345731f90097..235b707673fefcae2bdd79f5ba63bb31daa9e2e7 100644 (file)
@@ -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