From 8ba584dfb0ba401a29def60185daa7a3f6d7137d Mon Sep 17 00:00:00 2001 From: Olivier MEDOC Date: Sun, 29 Jan 2017 15:01:01 +0100 Subject: [PATCH] Makefile: enforce mode 750 for directories /etc/sudoers.d and /etc/polkit-1/rules.d --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index ae9a2ff..6a0d6b3 100644 --- a/Makefile +++ b/Makefile @@ -159,6 +159,7 @@ install-common: $(MAKE) -C autostart-dropins install install -m 0644 -D misc/fstab $(DESTDIR)/etc/fstab + install -d -m 0750 $(DESTDIR)/etc/sudoers.d/ install -D -m 0440 misc/qubes.sudoers $(DESTDIR)/etc/sudoers.d/qubes install -D -m 0440 misc/sudoers.d_qt_x11_no_mitshm $(DESTDIR)/etc/sudoers.d/qt_x11_no_mitshm install -D -m 0644 misc/20_tcp_timestamps.conf $(DESTDIR)/etc/sysctl.d/20_tcp_timestamps.conf @@ -171,6 +172,7 @@ install-common: install -d $(DESTDIR)$(LIBDIR)/qubes/ install misc/vusb-ctl.py $(DESTDIR)$(LIBDIR)/qubes/ install misc/qubes-trigger-sync-appmenus.sh $(DESTDIR)$(LIBDIR)/qubes/ + install -d -m 0750 $(DESTDIR)/etc/polkit-1/rules.d install -D -m 0644 misc/polkit-1-qubes-allow-all.pkla $(DESTDIR)/etc/polkit-1/localauthority/50-local.d/qubes-allow-all.pkla install -D -m 0644 misc/polkit-1-qubes-allow-all.rules $(DESTDIR)/etc/polkit-1/rules.d/00-qubes-allow-all.rules install -D -m 0644 misc/mime-globs $(DESTDIR)/usr/share/qubes/mime-override/globs