From 4597a78e6ac200a4ce718ac664fb9ba7e5f482df Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 2 Dec 2015 12:43:19 +0100 Subject: [PATCH] The 40autorandr script needs to be executable for udev MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Otherwise it will not be executed: … systemd-udevd[32358]: failed to execute '/etc/pm/sleep.d/40autorandr' '/etc/pm/sleep.d/40autorandr thaw': Permission denied … systemd-udevd[32355]: Process '/etc/pm/sleep.d/40autorandr thaw' failed with exit code 2. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8eb12e6..42ee710 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ DEFAULT_TARGETS+=pmutils endif install_pmutils: - install -D -m 644 contrib/pm-utils/40autorandr ${DESTDIR}/etc/pm/sleep.d/40autorandr + install -D -m 755 contrib/pm-utils/40autorandr ${DESTDIR}/etc/pm/sleep.d/40autorandr uninstall_pmutils: rm -f ${DESTDIR}/etc/pm/sleep.d/40autorandr -- 2.39.5