archlinux-keyring permission fix

Message ID YuGfjQsAqC5kdgka@michel-fedora-PC198L6J
State New
Headers show
Series archlinux-keyring permission fix | expand

Commit Message

Michel Alexandre Salim July 27, 2022, 8:26 p.m. UTC
Dear archlinux-keyring maintainers,

I'm working on getting archlinux-keyring packaged in Debian and Ubuntu
(as it would make it easier for mkosi - https://github.com/systemd/mkosi
- to generate Arch images from Debian and Ubuntu hosts).

There are some patches I'm applying that should probably be upstreamed;
since I can't fork the repo on GitLab, please find the first one
attached here.

It fixes the permission of the keyring files; they are not executable so
should be installed with 644 rather than 755.

It's also available on my Git repo:
https://git.sr.ht/~michel-slm/archlinux-keyring/commit/aa42fc9c4a2b66a1699730b970794239257b05a4

Best regards,

Patch

diff --git a/Makefile b/Makefile
index f60c5b7..b3d22c2 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@  clean:
 	rm -rf build
 
 install: build
-	install -vDm 755 $(KEYRING_FILES) -t $(KEYRING_TARGET_DIR)
+	install -vDm 644 $(KEYRING_FILES) -t $(KEYRING_TARGET_DIR)
 
 uninstall:
 	rm -f $(KEYRING_TARGET_DIR)/archlinux{.gpg,-trusted,-revoked}