From d257ce8c8a8c4233af8f8f3bfc6ad232bad59a61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 5 Nov 2023 01:57:09 +0100 Subject: [PATCH] Do not install man pages and profile.d files as executable They shouldn't be executable. QubesOS/qubes-issues#6567 --- Makefile | 2 +- doc/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 020bf0e..d214e5d 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ install-vm-common: install -D gpg-import-key $(DESTDIR)/usr/bin/qubes-gpg-import-key install -D qubes.Gpg.service $(DESTDIR)/etc/qubes-rpc/qubes.Gpg install -D qubes.GpgImportKey.service $(DESTDIR)/etc/qubes-rpc/qubes.GpgImportKey - install -D qubes-gpg.sh $(DESTDIR)/etc/profile.d/qubes-gpg.sh + install -m 0644 -D qubes-gpg.sh $(DESTDIR)/etc/profile.d/qubes-gpg.sh install -D qubes-gpg-split.tmpfiles $(DESTDIR)/usr/lib/tmpfiles.d/qubes-gpg-split.conf make -C tests install-vm make -C doc install diff --git a/doc/Makefile b/doc/Makefile index f9d2b86..0eecaa0 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -10,7 +10,7 @@ manpages: $(DOCS) install: manpages install -d $(DESTDIR)/usr/share/man/man1 - install -D $(DOCS) $(DESTDIR)/usr/share/man/man1/ + install -m 0644 -D $(DOCS) $(DESTDIR)/usr/share/man/man1/ %.1: %.rst $(PANDOC) $< > $@